Merge pull request #4055 from thelounge/xpaw/enterkeyhint
Add enterkeyhint on chat input and topic save
This commit is contained in:
commit
27b3e50a64
@ -25,6 +25,7 @@
|
|||||||
:value="channel.topic"
|
:value="channel.topic"
|
||||||
class="topic-input"
|
class="topic-input"
|
||||||
placeholder="Set channel topic"
|
placeholder="Set channel topic"
|
||||||
|
enterkeyhint="done"
|
||||||
@keyup.enter="saveTopic"
|
@keyup.enter="saveTopic"
|
||||||
@keyup.esc="channel.editTopic = false"
|
@keyup.esc="channel.editTopic = false"
|
||||||
/>
|
/>
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
ref="input"
|
ref="input"
|
||||||
dir="auto"
|
dir="auto"
|
||||||
class="mousetrap"
|
class="mousetrap"
|
||||||
|
enterkeyhint="send"
|
||||||
:value="channel.pendingMessage"
|
:value="channel.pendingMessage"
|
||||||
:placeholder="getInputPlaceholder(channel)"
|
:placeholder="getInputPlaceholder(channel)"
|
||||||
:aria-label="getInputPlaceholder(channel)"
|
:aria-label="getInputPlaceholder(channel)"
|
||||||
|
Loading…
Reference in New Issue
Block a user