TanStack / TanStack/form

Broken form validations in SolidJS?

Open
#1,256 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: undecided v1 v2: needs investigation
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
  1. Follow the instructions in the guide
  2. Observe field validation doesn't fire
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.