diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2023-01-13 07:34:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 07:34:09 +0100 |
commit | 62476a369191d6e13ea723feb71fbb788b819885 (patch) | |
tree | 8227cbde83fd54b91810b9025fbc744cf7819c81 /apps | |
parent | 9c01fed263f7cade10bdbc54748c645aa0d3074d (diff) | |
parent | 19aa254bb960805d27ca93f36f1413d3dd7dbfa2 (diff) | |
download | nextcloud-server-62476a369191d6e13ea723feb71fbb788b819885.tar.gz nextcloud-server-62476a369191d6e13ea723feb71fbb788b819885.zip |
Merge pull request #36121 from nextcloud/bugfix/noid/allow-keyup-enter-in-user-status
Allow keyup enter in user status
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_status/src/components/CustomMessageInput.vue | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/user_status/src/components/CustomMessageInput.vue b/apps/user_status/src/components/CustomMessageInput.vue index da985613506..3e121f02e4a 100644 --- a/apps/user_status/src/components/CustomMessageInput.vue +++ b/apps/user_status/src/components/CustomMessageInput.vue @@ -35,10 +35,9 @@ :placeholder="$t('user_status', 'What is your status?')" type="text" :value="message" - @change="change" - @keyup="change" - @paste="change" - @keyup.enter="submit"> + @change="onChange" + @keyup="onKeyup" + @paste="onKeyup"> </div> </template> @@ -97,11 +96,11 @@ export default { * * @param {Event} event The Change Event */ - change(event) { + onKeyup(event) { this.$emit('change', event.target.value) }, - submit(event) { + onChange(event) { this.$emit('submit', event.target.value) }, |