form
form copied to clipboard
🤖 Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, and Lit.
Adding the `isDirty` flag to the form and fields inspired by [`react-hook-form`](https://www.react-hook-form.com/api/useform/formstate/). # Description | | When is it `true`? | | --- | --- | | `field.state.meta.isDirty` | the...
This PR removes the subfield API from `FieldAPI`, as: 1) We're removing the implicit ability to create a new FieldAPI from a parent's name in `react-core` (#588) 2) This API...
This closes #498. This is the first cut. It has tests, a basic example and the base-lib, there's also Material Web Components example. I added a little QuickStart guide. Open...
Attempt at addresssing #503 This PR includes, the form-persist-core package with tests and the changes to the form-core which make it work. The form-persist-core exports two main things: `class PersisterAPI`...
This PR aims to fix issues with array usage typings and removes the Provider component. With this change, an array-based form in React might look like: ```tsx import * as...
This is currently a WIP. Please close the pull request if you feel like this addition is unnecessary, I don't want to waste anybody's time. ### Current issues Current issues...
### Describe the bug In the field array functionality, when reordering items (e.g. swapping positions, moving items to the top), the underlying values of the array fields change, but the...
I have a 150-line table that uses a checksum that causes my input to be slow ```ts const Render = (props: { row: Row; index: Accessor }) => { const...
### Describe the bug If you conditionally render a field with React.StrictMode activated, the library crashes. When disabling React.StrictMode, everything works fine. ### Your minimal, reproducible example https://codesandbox.io/p/devbox/tanstack-form-conditional-field-kfljkr ### Steps...
Attempts to address https://github.com/TanStack/form/discussions/532 . This is a sketch implementation for feedback, using lodash's internals for get. Happy to roll a custom implementation but I thought of using an existing...