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