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
Since v4.12.0 passing a computed ref as initialValues into useForm causes a RangeError: Maximum call stack size exceeded
initialValues
useForm
RangeError: Maximum call stack size exceeded
useForm({ initialValues: computed(() => ({ fullName: data.value?.origin, })), });
The initialValues should be unref'd to maintain some form of backwards compatibility.
unref
No response
Vue.js 3.x and vee-validate 4.x
https://codesandbox.io/p/sandbox/basic-example-composition-api-forked-fw346y
The text was updated successfully, but these errors were encountered:
9ebb582
fix: unref initial values when initializing the form closes #4563
c1c6f39
No branches or pull requests
What happened?
Since v4.12.0 passing a computed ref as
initialValues
intouseForm
causes aRangeError: Maximum call stack size exceeded
The initialValues should be
unref
'd to maintain some form of backwards compatibility.Reproduction steps
No response
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://codesandbox.io/p/sandbox/basic-example-composition-api-forked-fw346y
Code of Conduct
The text was updated successfully, but these errors were encountered: