feat: remove usage of .sync and define explicitly emits (#10209)
References - https://v3-migration.vuejs.org/breaking-changes/v-model - https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html
This commit is contained in:
@@ -25,6 +25,7 @@ export default {
|
||||
default: '',
|
||||
},
|
||||
},
|
||||
emits: ['input'],
|
||||
data() {
|
||||
return {
|
||||
greetingsMessage: this.value,
|
||||
|
||||
@@ -40,6 +40,14 @@ export default {
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
emits: [
|
||||
'input',
|
||||
'update:modelValue',
|
||||
'typingOn',
|
||||
'typingOff',
|
||||
'focus',
|
||||
'blur',
|
||||
],
|
||||
data() {
|
||||
return {
|
||||
typingIndicator: createTypingIndicator(
|
||||
|
||||
@@ -170,7 +170,7 @@ export default {
|
||||
</woot-button>
|
||||
|
||||
<woot-modal
|
||||
:show.sync="createModalVisible"
|
||||
v-model:show="createModalVisible"
|
||||
:on-close="hideCreateModal"
|
||||
>
|
||||
<AddLabelModal
|
||||
|
||||
Reference in New Issue
Block a user