commit
408fc29314
2 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ class FilterField extends TemplateView {
|
||||||
placeholder: options?.label,
|
placeholder: options?.label,
|
||||||
"aria-label": options?.label,
|
"aria-label": options?.label,
|
||||||
autocomplete: options?.autocomplete,
|
autocomplete: options?.autocomplete,
|
||||||
|
enterkeyhint: 'search',
|
||||||
name: options?.name,
|
name: options?.name,
|
||||||
onInput: event => options.set(event.target.value),
|
onInput: event => options.set(event.target.value),
|
||||||
onKeydown: event => {
|
onKeydown: event => {
|
||||||
|
|
|
@ -28,6 +28,7 @@ export class MessageComposer extends TemplateView {
|
||||||
render(t, vm) {
|
render(t, vm) {
|
||||||
this._input = t.input({
|
this._input = t.input({
|
||||||
placeholder: vm.isEncrypted ? "Send an encrypted message…" : "Send a message…",
|
placeholder: vm.isEncrypted ? "Send an encrypted message…" : "Send a message…",
|
||||||
|
enterkeyhint: 'send',
|
||||||
onKeydown: e => this._onKeyDown(e),
|
onKeydown: e => this._onKeyDown(e),
|
||||||
onInput: () => vm.setInput(this._input.value),
|
onInput: () => vm.setInput(this._input.value),
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue