mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
UI: add enterkeyhint end into the MessageComposer
This commit is contained in:
parent
5e9f728346
commit
31a9da09b2
@ -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),
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user