Skip to content

Commit

Permalink
Merge pull request #12368 from nextcloud/fix/vue3/sync-to-modelvalue
Browse files Browse the repository at this point in the history
fix(vue3): use value from v-model (instead of event.target.value)
  • Loading branch information
Antreesy authored May 17, 2024
2 parents d0b8752 + de6f10a commit 8346a42
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,17 @@ export default {
get() {
return this.newConversation.displayName
},
set(event) {
this.updateNewConversation({ displayName: event.target.value })
set(value) {
this.updateNewConversation({ displayName: value })
},
},

conversationDescription: {
get() {
return this.newConversation.description
},
set(event) {
this.updateNewConversation({ description: event.target.value })
set(value) {
this.updateNewConversation({ description: value })
},
},

Expand Down Expand Up @@ -170,8 +170,8 @@ export default {
get() {
return this.password
},
set(event) {
this.$emit('update:password', event.target.value)
set(value) {
this.$emit('update:password', value)
},
},

Expand Down

0 comments on commit 8346a42

Please sign in to comment.