UI: add enterkeyhint end into the MessageComposer
This commit is contained in:
parent
5e9f728346
commit
31a9da09b2
1 changed files with 1 additions and 0 deletions
|
@ -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