Skip to content

Commit

Permalink
Merge pull request #36143 from nextcloud/revert-36132-backport/36121/…
Browse files Browse the repository at this point in the history
…stable25

Revert "[stable25] Allow keyup enter in user status"
  • Loading branch information
skjnldsv authored Jan 14, 2023
2 parents c002b7e + 0749d5f commit b20d0e3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
11 changes: 6 additions & 5 deletions apps/user_status/src/components/CustomMessageInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@
:placeholder="$t('user_status', 'What is your status?')"
type="text"
:value="message"
@change="onChange"
@keyup="onKeyup"
@paste="onKeyup">
@change="change"
@keyup="change"
@paste="change"
@keyup.enter="submit">
</div>
</template>

Expand Down Expand Up @@ -96,11 +97,11 @@ export default {
*
* @param {Event} event The Change Event
*/
onKeyup(event) {
change(event) {
this.$emit('change', event.target.value)
},

onChange(event) {
submit(event) {
this.$emit('submit', event.target.value)
},

Expand Down
Loading

0 comments on commit b20d0e3

Please sign in to comment.