Switching our $emit('input' to $emit('update:value' to be in line with the new way v-model works

This commit is contained in:
Cody Jackson
2024-10-23 17:00:55 +02:00
committed by Francesco Torchia
parent 4208c5890c
commit 8282f4c7e9
29 changed files with 34 additions and 34 deletions
@@ -91,7 +91,7 @@ export default {
return;
}
this.$emit('input', this.rows);
this.$emit('update:value', this.rows);
}
},
};
@@ -234,7 +234,7 @@ export default {
>
<NameNsDescription
:value="value"
@update:value="$emit('input', $event)"
@update:value="$emit('update:value', $event)"
:namespaced="true"
:mode="mode"
/>