We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useFields is not synchronized with modelValue when it is initialized for the first time.
useFields
modelValue
You can see the value default value is test, but the input value is empty.
Vue.js 3.x and vee-validate 4.x
No response
https://stackblitz.com/edit/vee-validate-v4-radio-7meypq?file=src%2FInput.vue,src%2FApp.vue
The text was updated successfully, but these errors were encountered:
Thanks for reporting this, a workaround for now is to initialize it yourself temporarily till it is fixed.
const { value } = useField('test', undefined, { initialValue: props.modelValue, syncVModel: true, });
Sorry, something went wrong.
1040643
No branches or pull requests
What happened?
useFields
is not synchronized withmodelValue
when it is initialized for the first time.Reproduction steps
You can see the value default value is test, but the input value is empty.
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
No response
Demo link
https://stackblitz.com/edit/vee-validate-v4-radio-7meypq?file=src%2FInput.vue,src%2FApp.vue
Code of Conduct
The text was updated successfully, but these errors were encountered: