Using custom v-model for component
marciado opened this issue · comments
marciado commented
The v-model has breaking changes in Vue 3. So we have to use:
:modelValue
& @update:modelValue="customHandler"
instead of :value
& @input="customHandler"
.
Therefore it is not possible to only use v-model
at the parent component, so you have to use it like above right?
And vue 3 support of v-model naming (like v-model:name="customModelValue"
) is also not possible?
Has this plugin a solution for custom v-models inside of the composition api?
Anthony Fu commented
Sorry this is not possible and out-of-scope of this project.
Nicolás Quiroz commented
Do you know if this is implemented in vue 2.7?