Skip to content
New issue

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

Error occurred when using pinia-plugin-persistedstate with vee-validate #366

Open
4 of 5 tasks
A-kirami opened this issue Dec 25, 2024 · 0 comments
Open
4 of 5 tasks
Labels
🔍️ pending triage This issue needs to be looked into

Comments

@A-kirami
Copy link

Are you using Nuxt?

  • Check this box if you encountered the issue using Nuxt and the included module.

Describe the bug

Hello, when using vee-validate in combination with pinia-plugin-persistedstate, I encounter an issue where the .$state cannot be passed to vee-validate's resetForm method when the store is enabled for persistence. This results in a RangeError: Maximum call stack size exceeded error from vee-validate.

Reproduction

https://codesandbox.io/p/devbox/n8krd6

System Info

System:
    OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
    CPU: (2) x64 AMD EPYC
    Memory: 1.22 GB / 4.01 GB
    Container: Yes
    Shell: Unknown
  Binaries:
    Node: 20.12.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.5.0 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/share/npm-global/bin/pnpm

Used Package Manager

pnpm

Validations

@A-kirami A-kirami added the 🔍️ pending triage This issue needs to be looked into label Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔍️ pending triage This issue needs to be looked into
Projects
None yet
Development

No branches or pull requests

1 participant