form icon indicating copy to clipboard operation
form copied to clipboard

🤖 Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, and Lit.

Results 271 form issues
Sort by recently updated
recently updated
newest added

From issue #1177 and discussion #1159 this PR introduces form.resetField() utility

The docs say > **A field is "touched" when the user clicks/tabs into it**, "pristine" until the user changes value in it, and "dirty" after the value has been changed....

question

### Describe the bug I have a form with optional fields that may be mandatory depending on another field. I want to validate the form entirely by clicking on the...

enhancement

**Field.meta** From issue #1111 and discussion #709, this pr Introduces the Field.meta api to allow for extensible and easily accessible meta data to the field component. *example api* ```tsx ({...

This docs section should cover: * Use `useStore` to get `field.state.meta` * Why meta can get stale without them * Why `field.state.value` does not need it (or maybe it does!...

docs

### Discussed in https://github.com/TanStack/form/discussions/1159 Originally posted by **wilson12365** February 19, 2025 right now the only way to handle reset a field based on other actions of the form is the...

enhancement
good first issue

### Discussed in https://github.com/TanStack/form/discussions/1014 Originally posted by **eckmLJE** November 12, 2024 Greetings, The "React Example: Query Integration" example is pretty half-baked for an in-Tanstack "integration". It shows two things that...

docs

### Describe the bug React crashes if you set a Field level defaultValue on a conditionally rendered Field. ``` Cannot update a component (`App`) while rendering a different component (`Field`)....

help wanted

### Describe the bug const validationErrors: ValidationError[] = await form.validateAllFields('submit'); return empty ValidationError array even if some fields are not valid. in a screenshot, there are two places with "calculation[0].name"...

Related to #1202 Add fieldOptions and dynamicFieldOptions APIs that allow creating fieldOptions outside of JSX/html... **Implementation:** ```ts export const interestFormOpts = formOptions({ defaultValues: { fullName: '', interests: [ { name:...