You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
CyberAP
changed the title
[compat] model prop option is not considered when using v-model
[compat] model configuration doesn't support modelValue as a prop value
May 14, 2021
Version
3.1.0-beta.3
Reproduction link
https://codesandbox.io/s/frosty-haze-zb9lx?file=/src/Child.vue
Steps to reproduce
model
config that supportsv-model
directiveprop
value asmodelValue
v-model
directive in a parent componentWhat is expected?
A
prop
option should be used to pass model value from parent to child component on a correct propWhat is actually happening?
No model value is passed to the child component
If a
prop
model config value is changed to any other value it works back again: https://codesandbox.io/s/upbeat-tdd-jypn0?file=/src/Child.vueA workaround is just to switch to Vue 3 mode.
The text was updated successfully, but these errors were encountered: