Broken form validations in SolidJS?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.7k
- Forks
- 682
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 7
Description
Describe the bug
Hey! I am literally following the guide for validations and I am unable to accomplish a simple validation.
Your minimal, reproducible example
https://stackblitz.com/edit/solidjs-templates-bv3rc2x1?file=src%2FApp.tsx
Steps to reproduce
- Follow the instructions in the guide
- Observe field validation doesn't fire
- Observe submit button doesn't get conditionally disabled
Expected behavior
Probably resolving the issue with validator not running would resolve the button state?
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
N/A
TanStack Form adapter
solid-form
TanStack Form version
1.0.5
TypeScript version
5.1.3
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked validation guide and reproduce the behavior in the StackBlitz example. Inspect why field validation does not fire and why the submit button is not conditionally disabled; done means the documented Solid form validation works and the button state updates as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100