form
form copied to clipboard
🤖 Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, and Lit.
### Describe the bug I have tried to follow the example given in the docs ([link](https://tanstack.com/form/latest/docs/guides/basic-concepts#array-fields)) as closely as possible, but with no luck. Adding a new field works, but...
### Describe the bug I noticed the bug when trying to use the `Field` component with a static name that points to a property inside of an array (e.g. `friends.0.name`)....
### Describe the bug When updating the form value using either `form.setFieldValue` or ```ts form.store.setState((state) => { return { ...state, values: { ...data, }, }; }); ``` The state gets...
From discord discussion, I think it would be nice a way to have values be async, like after making an api call. Currently `React-Hook-Form` supports this like so ```tsx function...
### Description When building a form stepper, like so:  It's common for each step to have its own form. However, this complicates the form submission and validation process by...
A common use case with forms is showing or hiding fields based on other field’s values. For example, a “select a reason” form that has an “other” checkbox that shows...
It would be awesome to have a docs page similar to this: https://houseform.dev/guides/react-native.html That outlines how to use TanStack Form with React Native. TLDR: it should just work out-of-the-box without...
Ideally, it would be awesome to have a form that allows you to persist values to a form and easily load them back into memory when the user navigates away....
> This feature request comes from https://github.com/houseform/houseform/issues/60, the older form library I maintained ### Description Ideally, I'd like to have a number, displayed as a string (say, a locale with...
``` import {createForm} from "@tanstack/svelte-form" const form = createForm({ defaultValues: { age: 0 }, onSubmit(values) { alert(JSON.stringify(values)) } }); $: Field = form.Field; val < 13 ? "You must be...