modular-forms icon indicating copy to clipboard operation
modular-forms copied to clipboard

Form validation doesn't work when used with `valiForm`

Open seahindeniz opened this issue 1 year ago • 1 comments

Hello, I have tried to use valiForm as described in the docs however, I couldn't make it work and not sure what's wrong with it. I have forked a Stackblitz project and applied the following changes

  • Added valibot as dependency
  • Upgraded @modular-forms/solid to 0.20.0
  • Made changes on the src/routes/login.tsx

https://stackblitz.com/edit/modular-forms-solid-ww8bf8?file=src%2Froutes%2Flogin.tsx

seahindeniz avatar May 29 '24 05:05 seahindeniz

Please downgrade Valibot to v0.30.0 via npm i [email protected]. I will upgrade Modular Forms soon, in order to be compatible with the next version of Valibot.

fabian-hiller avatar May 29 '24 11:05 fabian-hiller