Merge pull request #36132 from nextcloud/backport/36121/stable25

[stable25] Allow keyup enter in user status
This commit is contained in:
Joas Schilling 2023-01-13 11:26:47 +01:00 committed by GitHub
commit 63a1251229
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 12 deletions

View file

@ -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)
},

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long