RangeError: Maximum call stack size exceeded
when passing Pinia state to resetForm
method
#4964
Open
2 of 5 tasks
Labels
🤔 needs reproduction
This issue requires a demo
What happened?
Hello, I am currently working with Pinia and Vee-Validate, but I have encountered an issue when trying to pass the Pinia state to the
resetForm
method.Error Message:
Code Snippet:
Expected Behavior:
I expect the
resetForm
method to reset the form with the values from the Pinia state without causing a stack overflow error.Actual Behavior:
The
resetForm
method throws aRangeError: Maximum call stack size exceeded
error.Environment:
Reproduction steps
resetForm
within a method.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
Currently, I do not have a reproduction link available. However, I can create a minimal reproduction repository if needed. Please let me know if this would be helpful.
Code of Conduct
The text was updated successfully, but these errors were encountered: