0
Fork 0
mirror of https://github.com/TanStack/form.git synced 2026-11-18 07:36:42 +00:00
Commit graph

114 commits

Author SHA1 Message Date
Patrick Wehbe
b730192a02
docs: correct withFieldGroup props runtime note (#2217)
The withFieldGroup props comment said the props are "not used at
runtime", but they are. In createFormHook the render call spreads them
(render({ ...props, ...innerProps, group })), so they act as default
values that innerProps can override, the same as withForm does with
render({ ...props, ...innerProps }). The withForm docs already describe
this correctly as default values, so this updates the react, solid and
preact copies to match.

Closes #2099

Co-authored-by: Patrick Wehbe <patrick.wehbe.applications@gmail.com>
2026-07-09 02:43:41 -07:00
Corbin Crutchley
808f158b62
Form Groups (#2128)
* feat: initial work on FormGroupApi in core

* chore: initial (and wrong) per-form-group-validation

This is wrong because instead of keeping the state inside of `FormGroupApi` itself, we need to follow the same pattern of `FieldApi` and keep the state in `FormApi` and reference that state in a derived way.

* chore: create a common FieldLikeAPI to adopt in form groups shortly

* chore: implement FieldLike API on FormGroup

* chore: revert changes to FormApi validation logic

* chore: fix type issues with validation kind

* chore: minor fixes

* Revert "chore: revert changes to FormApi validation logic"

This reverts commit 756ddf8402.

* chore: filter fields to validate in formgroup

* chore: improve store

* chore: fix tests

* chore: fix another test

* chore: add submitmeta test

* ci: apply automated fixes and generate docs

* chore: add FormLike methods to FormGroup

* chore: add type tests

* chore: fix build

* chore: fix type tests

* ci: apply automated fixes and generate docs

* chore: export two missing items

* chore: add new interop FormGroupOptions type

* chore: initial implement of useFormGroup in React

* ci: apply automated fixes and generate docs

* chore: add formGroup to useForm

* chore: add initial React implementation tests

* ci: apply automated fixes and generate docs

* chore: add type tests for React adapter

* ci: apply automated fixes and generate docs

* chore: fix eslint

* ci: apply automated fixes and generate docs

* chore: add multi-step wizard

* ci: apply automated fixes and generate docs

* fix: handle resubmissions

* fix: validate on resubmit

* feat: add better onDynamic handling to FormGroupApi

* chore: first attempt to fix onDynamic change handling on groups

* chore: attempt 2

* chore: attempt 3

* chore: attempt 4

* Revert "chore: attempt 4"

This reverts commit 7546f08b94.

* chore: finalize fixing form errors

* chore: fix eslint

* chore: regenerate lockfile

* ci: apply automated fixes and generate docs

* docs: update the wizard example

* ci: apply automated fixes and generate docs

* chore: initial work on Vue FormGroup API

* ci: apply automated fixes and generate docs

* chore: revert useContext changes

* feat: add preact form group

* chore: fix tests and export names

* chore: add Preact wizard demo

* feat: add FormGroup support for Solid adapter

* chore: add formgroup tests for Solid

* chore: add type tests for Solid

* ci: apply automated fixes and generate docs

* chore: add Solid group example

* ci: apply automated fixes and generate docs

* chore: fix test

* feat: add FormGroup impl to Svelte

* ci: apply automated fixes and generate docs

* chore: add formGroup tests for Svelte

* ci: apply automated fixes and generate docs

* chore: add Svelte example

* chore: fix sherif

* feat: add Lit FormGroup API

* chore: add Lit FormGroup tests

* chore: refactor Lit tests

* ci: apply automated fixes and generate docs

* feat: implement FormGroup in Angular

* chore: add FormGroup Angular spec

* ci: apply automated fixes and generate docs

* feat: add withForm feature to Angular

* chore: update Angular large-form example to use new `withForm` API

* docs: add docs to Angular withForm example

* chore: add changeset

* chore: fix knip

* chore: initial multi-step-wizard Angular example

* chore: update the multi-step-wizard to use new API

* chore: add multi-step-wizard example to Lit

* ci: apply automated fixes and generate docs

* chore: add Vue example

* chore: fix CI

* chore: update to use Testing Library

* chore: make tests more Testing Library-y

* fix: isSubmitting now works with FormGroup

Thank you @gaganref!

* chore: fix Lit warning

* ci: apply automated fixes and generate docs

* chore: add currently failing tests

* fix: handle validation better in form groups

* chore: add test for duped group schema

* chore: update `form` error field to `group`

* chore: fix CI

* ci: apply automated fixes and generate docs

* chore: add test for isGroupValid and isFieldsValid

* ci: apply automated fixes and generate docs

* chore: refactor FormGroup to core

* chore: refactor Lit Form to use Lit Store properly

* chore: fix eslint

* ci: apply automated fixes and generate docs

* chore: remove temp changeset

* docs: initial docs for React adapter

* docs: add multi-step-wizard examples to docs site

* docs: add form group state docs for React

* docs: mirror React docs to Preact

* docs: add Solid docs

* docs: add Vue docs

* ci: apply automated fixes and generate docs

* docs: add groups docs for Svelte

* docs: add groups docs for Lit

* docs: add groups docs for Angular

* fix: handle issue with field group names

* ci: apply automated fixes and generate docs

* chore: fix CI

* chore: remove onXListenTo APIs

* chore: add onMount errors to groups

* chore: add onChange listeners to form

* chore: handle group validation async cleanup, onmount listener, et al

* chore: fix Group change listeners

* chore: add changeset

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-28 09:25:07 -07:00
dfedoryshchev
cab571a170
docs(react-form): show how to render formErrorMap.onChange when using Standard Schema (#2139)
* docs(react-form): show how to render formErrorMap.onChange when using Standard Schema

The form-level error rendering example uses a function validator
returning a string, which renders directly. Readers applying the same
pattern to a Standard Schema validator (Zod, Valibot, ArkType,
Effect/Schema) hit a TypeScript error because errorMap.onChange is then
Record<string, StandardSchemaV1Issue[]>, not a string.

Add a note after the example with the iteration pattern needed for the
Standard Schema case.

Closes #1564

* ci: apply automated fixes and generate docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-07 02:29:49 -07:00
Andy Cochrane
3c508895e2
docs(react): fix incorrect form component reference in code comment (#2126) 2026-05-06 02:56:28 -07:00
Harry Whorlow
d6ab662cdf
feat(react-from): extend appform (#2106)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-10 13:39:45 +02:00
Dominik Dorfmeister 🔮
7a1428d6ce
fix(core): field unmount (#2068)
* fix: make field unmount

* more tests

* ref: prefer object.entries

* jsdoc

* Fix field unmount issue in core

Fixes the issue with field unmount in core.

* ci: apply automated fixes and generate docs

* fix: update fieldInfo type to be partial and handle unmounted fields

* fix: cleanupFieldsOnUnmount flag

* fix: eslint

* fix: coderabbit findings

* fix: ensure async validation cancellation on field unmount

* more tests

* chore: remove default

* feat: listeners

* ci: apply automated fixes and generate docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Harry Whorlow <79278353+harry-whorlow@users.noreply.github.com>
Co-authored-by: Harry Whorlow <whorlowharry@gmail.com>
2026-03-27 18:46:47 +01:00
Jhoan J. Ramírez
200aa7e24d
docs(*): fix broken code examples in Vue and React SSR guides (#2046)
* docs(*): fix broken code examples in Vue and React SSR guides

* docs(*): update useStore import to use re-export from react-form-start

* ci: apply automated fixes and generate docs

---------

Co-authored-by: dojhoanrd-jw <dojhoanrd-jw@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-09 09:01:39 +01:00
LeCarbonator
a7eda7a388
feat(react-form): add useTypedAppFormContext (#1826)
* add useTypedAppFormContext

* remove unused ts-expect-error

* Add great-ghosts-sin.md

* ci: apply automated fixes and generate docs

* chore: fix PR

* chore: add unit tests

* docs(react-form): amend form composition with context

* chore: fix changeset

* chore: fix wrong version bump

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-23 09:39:11 +01:00
Adebesin Tolulope (Lope)
16dca2689f
docs(react-form): add Chakra UI integration guide (#1909)
* docs(react-form): add Chakra UI integration guide to ui-libraries documentation

Add comprehensive Chakra UI integration examples to the UI libraries guide,
covering both composable (Checkbox.Root) and pre-composed Checkbox components.
Includes code examples demonstrating how to integrate Chakra UI's Input and
Checkbox components with TanStack Form's Field component, maintaining
consistency with existing Mantine, Material UI, and shadcn/ui examples.

* docs: Update Chakra UI Checkbox example in UI libraries guide
2026-01-15 15:57:15 +01:00
Andrew Taylor
b75d4fe436
docs(react-form): Fix validator typo in TanStack Start docs (#1972) 2026-01-05 07:13:23 +01:00
Hodeem
11cab495cb
docs(form): Fix grammar issues in the guides (#1965)
* docs(form): Fix grammar issues in the guides

* docs(form): Fix grammar issues in the guides

* ci: apply automated fixes and generate docs

* Update docs/framework/react/guides/devtools.md

Co-authored-by: LeCarbonator <18158911+LeCarbonator@users.noreply.github.com>

* Update docs/framework/react/guides/dynamic-validation.md

Co-authored-by: LeCarbonator <18158911+LeCarbonator@users.noreply.github.com>

* Removed duplicates from validation.md

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: LeCarbonator <18158911+LeCarbonator@users.noreply.github.com>
2026-01-04 10:51:28 +01:00
Patrick Patenaude
6877c23570
docs: fix punctuation and grammar issues (#1970)
- Fix pronoun agreement (yourselves → yourself)
- Add missing punctuation (periods, commas)
- Correct grammar (ran → run, etc.)
- Fix JSX comment spacing
- Repair malformed HTML tag
- Standardize TypeScript formatting

10 files changed, 14 corrections applied.
2026-01-03 12:49:06 +01:00
Hodeem
d2ae76a3ce
[Docs] Refine language and formatting in react basic concepts guide (#1943)
* Refine language and formatting in basic concepts guide

Hey team,

These are some suggestions I have for how we could improve this page. It's mostly grammar and consistency fixes, but includes slight re-wording to improve clarity. I'm open to feedback.

* docs(form): Removed links to references and moved `isDefaultValue`

* ci: apply automated fixes and generate docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-21 12:28:55 +01:00
Divyansh Soni
c4283ae662
docs: Simplify focus-management example for invalid inputs (#1922)
Refactor onSubmitInvalid to focus on invalid input directly.
2025-12-08 14:23:08 -08:00
Lachlan Collins
ffa4fb8b9d
docs: correct local relative links (#1906)
* docs: correct local relative links

* String
2025-12-05 22:39:01 +11:00
autofix-ci[bot]
949db5865a
ci: apply automated fixes and generate docs 2025-12-01 09:38:25 +00:00
Reese Hayman
92a9fc76ed
docs: add ESLint rule exception for react/no-children-prop (#1413)
* Making docs more robus

I ran into some errors caused by ESLint and I have found that a few other people did too, I think it would be good to include this in the docs.

* Wording change for linting issues
2025-12-01 01:37:34 -08:00
Lachlan Collins
ae5d57275b
ci: remove @tanstack/publish-config (#1881)
* ci: remove @tanstack/publish-config

* Update docs

* Fix links

* Fix workflow

* Use prettier experimental cli

* Add back test command
2025-11-29 19:26:37 +11:00
Leonardo Montini
d3883e9c40
feat: update start to rc (#1771)
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
Co-authored-by: Harry Whorlow <whorlowharry@gmail.com>
Co-authored-by: Harry Whorlow <79278353+harry-whorlow@users.noreply.github.com>
Co-authored-by: Corbin Crutchley <git@crutchcorn.dev>
2025-11-13 19:46:25 +01:00
Harry Whorlow
154ac183a6
feat(devtools): update to devtools utils, add solid devtools (#1789) 2025-11-12 19:57:01 +01:00
Alex Kostyniuk
2debbd5c67
docs: enhance array field methods description with additional methods (#1827)
enhance array field description
2025-11-05 07:05:41 +01:00
Alex Kostyniuk
c3a9b61a05
docs: enhance validation guide with tip on preventing submission when form is untouched (#1814)
* Enhance validation guide with preventing submission tip

Added guidance on preventing form submission before interaction.

* move the tip after the code block to no break logic

* enhance guide for all frameworks
2025-10-29 07:03:47 +01:00
Alex Kostyniuk
67dde9ffaf
docs: enhance UI libraries guide with official ShadCN integration link (#1825)
## 🎯 Changes

Add link to the ShadCN library guide for integrating TanStack Form.

## ✅ Checklist

- [x] I have followed the steps in the [Contributing guide](https://github.com/TanStack/form/blob/main/CONTRIBUTING.md).
- [x] I have tested this code locally with `pnpm test:pr`.

## 🚀 Release Impact

- [ ] This change affects published code, and I have generated a [changeset](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md).
- [x] This change is docs/CI/dev-only (no release).
2025-10-27 10:13:05 +01:00
Felipe Stanzani
888bfcd643
docs(react): add shadcn/ui examples to React ui-libraries documentation (#1757)
* Adds shadcn/ui examples to ui-libraries doc

* ci: apply automated fixes and generate docs

* Update docs/framework/react/guides/ui-libraries.md

Changes input defaultValue to value

Co-authored-by: LeCarbonator <18158911+LeCarbonator@users.noreply.github.com>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: LeCarbonator <18158911+LeCarbonator@users.noreply.github.com>
2025-09-24 15:03:45 +02:00
James Kirkby
33cc8ba371
docs(react-form): Fix capitalization of TanStackDevtools references in devtools docs (#1746) 2025-09-24 13:09:40 +02:00
Harry Whorlow
20c9f0a775
feat(core): Form Devtools (#1692)
Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com>
2025-09-17 15:18:35 +02:00
Corbin Crutchley
fbf0163872
docs: add focus management docs for React (#1720) 2025-08-30 15:19:34 -07:00
Taylous
eee2610ccb
docs(react-form): fix incorrect error display in example (#1719)
fix error display example formatting

removed stray semicolon after comment
replaced comment with regular comment for clarity
2025-08-29 15:42:19 +02:00
Bennett Dams
124dd5bd5a
docs(react-form): Fix field group name (#1675)
These changes harmonizes the occurrences of the password field group for all examples to have the same name.
2025-08-06 17:36:53 +02:00
Corbin Crutchley
cca8de79c3
feat: Add alternative validation methods (#1622)
* chore: initial ideation

* chore: move to correct location

* chore: more work

* chore: pass both tests

* ci: apply automated fixes and generate docs

* chore: fix ESlint

* chore: added async logic

* ci: apply automated fixes and generate docs

* chore: add back default validation to the RHF values

* ci: apply automated fixes and generate docs

* chore: remove old async and sync validation logic

* chore: mostly correct TS types

* chore: fix minor type errors

* chore: fix type tests

* chore: fix Angular TS types

* chore: fix Lit's types

* docs: update React types

* chore: finish solid types

* chore: fix Svelte types

* chore: fix Vue types

* chore: add revalidate mode

* chore: revert specific changes made to track handlers

* chore: fix revalidate mode to behave as it does in RHF

* chore: rename the submission attempts

* ci: apply automated fixes and generate docs

* chore: reintroduce validation logic

* chore: fix submission validation logic

* chore: fix types against `main`

* chore: fix types

* chore: regenerate lockfile and package upgrade

* chore: regen lockfile against main

* chore: add debounce timing to dynamic

* chore: add tests to field validation as well

* chore: add basic dynamic validation docs for React

* docs: add example docs for dynamic usage

* docs: add Lit dynamic validation docs

* ci: apply automated fixes and generate docs

* docs: add dynamic validation docs to Angular

* docs: add solid dynamic validation example

* docs: add Svelte docs for dynamic

* docs: add dynamic validation to Vue

* ci: apply automated fixes and generate docs

* chore: fix CI

* chore: move server validation to right place

* fix: server validation should now function as-expected

* chore: fix CI

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-04 14:41:18 -07:00
James Trenda
b4388e751c
docs(nextjs-ssr): clarify need for HTML name attribute in form submissions (#1574)
* docs(nextjs-ssr): clarify need for HTML name attribute in native form submissions

add inline comments to client components in next.js server action examples
highlighting the need to explicitly set the name attribute on input fields
for native POST submissions (e.g. with Next.js Server Actions). This avoids
confusion where inputs may otherwise be omitted from formData.

closes https://github.com/TanStack/form/issues/1565

* docs: change hardcoded name to field name

---------

Co-authored-by: LeCarbonator <18158911+LeCarbonator@users.noreply.github.com>
2025-08-04 16:21:56 +02:00
Jaime R.
c34eb6a7f4
docs(react-form): fix invalid HTML markup in Form Composition (#1660)
<div> can not be child of <label>

The HTML <label> tag should not contain a <div>, so this change replaces the <div> with a <span>

Source:
https://caninclude.onrender.com/caninclude?child=div&parent=label
2025-08-03 01:08:46 -07:00
LeCarbonator
6938517990
docs: update Standard Schema library list (#1655)
docs: update standard schema library list
2025-08-01 21:45:32 +02:00
Lachlan Collins
5dd89f5b09
chore: sync repo config (#1635)
* chore: sync repo config

* Update templates

* Fix link

* Fix links
2025-07-26 19:27:33 +10:00
LeCarbonator
1089876e59
feat(react-form): Add withFieldGroup (#1469)
* feat: add createFormGroup

* refactor: move createFormGroup to AppForm

While the previous separate implementation was compatible with AppForm, users
wouldn't have been able to use any field/form components
in the render itself. This commit allows them to do that,
at the expense of not being compatible with useForm.

* chore: add unit tests for createFormGroup types

* chore: add unit test for createFormGroup

* chore: export CreateFormGroupProps

* add DeepKeysOfType util type

This type will help with a lens API for forms
so that only names leading to the subset data
are allowed.

* feat: add initial FormLensApi draft

* chore: add FormLensApi tests batch

* fix(form-core): fix form.resetField() ignoring nested fields

* chore: complete form-core unit test for FormLensApi

* feat: add react adapter to form lens api

* fix: fix names for lens.Field and add test

* chore: export WithFormLensProps

* feat: add Subscribe and store to form lens

* feat: add mount method to FormLensApi

* fix: memoize innerProps to avoid focus loss in withFormLens

* refactor: use single useState instead of multiple useMemos

this is because useMemo is not intended for stable objects
see https://react.dev/reference/react/useMemo for more info

* feat: allow nesting withFormLenses

* remove createFormGroup for redundancy

* fix: widen typing of lens.Field/AppField to correct level

* docs: add withFormLens section

* fix: fix TName for lens component

* docs: fix typo in withFormLens

* feat: add lensErrors to FormLensApi store

* chore: adjust memo dependency in useFormLens

* chore: call userEvent.setup() in createFormHook tests

* refactor: move path concatenation to utils

* chore: move useLens to own file and rename

* feat: add FieldsMap and createFieldMap utils

* chore: migrate (most) lens references to field group

* chore: finalize migration from lens to field group

* ci: apply automated fixes and generate docs

* chore: remove accidental test file

* chore: add some unit tests for field mapping

* chore: add unit tests

* docs: update docs to use group

* docs: add caveat with field mapping

* docs: fix weird line break in alert text

* revert: remove FieldGroupApi#resetFieldMeta

the method appears to be a helper function for form.reset,
which is accessible from the field group API.
There does not seem to be a good reason to port this method
from FormApi.

* refactor: allow null or undefined for field group keys

users are able to do conditional rendering, but
TS generally doesn't pick up on it. Therefore,
while it is less type safe, it allows users to
use field groups in more locations than previously
possible.

* chore: add FieldGroupApi.test-d.ts

* docs(react-form): amend large form example with withFieldGroup

* chore(form-core): remove FieldGroupApi.reset

the reset is already accessible through group.form.reset.

* chore: fix broken unit test

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-25 07:51:22 +02:00
Muhammad Amin Saffari Taheri
6879f57cd3
feat(solid-form): add createFormHook for solid-js. (#1597)
* feat(solid-form): add `createFormHook` for solid-js.

* fix(solid-form): make the field in useFieldContext an accessor.

* fix(solid-form): directly assign values to form object.

This fixes and issue where some parts of the form, like submitting didn't work.

* feat(solid-form): add docs for form composition for solid.

* ci: apply automated fixes and generate docs

* fix: move to PoeplePage to align with the large form example.

* feat(solid-form): add large form example.

* ci: apply automated fixes and generate docs

* chore: use tanstack store adapter

* chore: fix CI

* ci: apply automated fixes and generate docs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Corbin Crutchley <git@crutchcorn.dev>
2025-07-06 15:33:19 -07:00
kusiewicz
a8279d5322
docs(react): fix server action typo (#1594) 2025-07-03 13:47:32 +02:00
Romain Trotard
a6898fa1eb
docs(react-form): fix typo in form composition documentation (#1581) 2025-06-14 11:59:49 +02:00
Michael
77acb338bb
docs: corrected field state definitions (#1540)
Co-authored-by: Harry Whorlow <whorlowharry@gmail.com>
Co-authored-by: Harry Whorlow <79278353+harry-whorlow@users.noreply.github.com>
2025-06-05 12:06:59 +02:00
Tanner Linsley
901180274c docs: fix links
commit 770f8e909c
Author: Tanner Linsley <tannerlinsley@gmail.com>
Date:   Sat May 24 00:13:23 2025 -0600

    docs: fix relative links
2025-05-24 00:48:09 -06:00
MrGeniusProgrammer
ed33c7ba72
docs(react-form): add type=submit in form-composition.md subscribe button (#1521) 2025-05-23 09:39:00 +02:00
Harry Whorlow
bfe231a934
feat(form-core): field meta isDefaultValue (#1456) 2025-05-08 09:42:29 +02:00
LeCarbonator
443d270bfa
feat(form-core): add <FieldMeta>.isValid (#1422)
* feat(form-core): add <FieldMeta>.isValid

this is a shortened counterpart to checking
field.state.meta.errors.length > 0

* docs: use isValid checks instaed of error length checks

* fix: read field derived data from the right store

* style: revert extracting errorMap variable in setMeta

* style: revert extracting errorMap variable in setFieldMeta

* docs: rephrase isValid description and related props

---------

Co-authored-by: Leonardo Montini <lion.48m@gmail.com>
Co-authored-by: Luca <luca@luca-laptop.int.dr-jakob.ch>
2025-04-29 12:21:58 +02:00
Harry Whorlow
cc06a6b299
feat(core): debounced form listeners (#1463) 2025-04-27 17:54:55 +02:00
LeCarbonator
9f68452f91
docs: Expand submission handling and validation documentation (#1428)
Co-authored-by: Pascal Küsgen <pascalkuesgen@gmail.com>
Co-authored-by: Harry Whorlow <79278353+harry-whorlow@users.noreply.github.com>
2025-04-27 12:57:16 +02:00
Harry Whorlow
7e46037374
feat(core): form listeners (#1261)
Co-authored-by: Harry Whorlow <whorlowharry@gmail.com>
2025-04-25 14:57:21 +02:00
LeCarbonator
ba664901b3
feat(form-core): add parseValueWithSchema() stateless method (#1421)
* feat(FormApi): add standard schema validator wrapper

* feat(form-core): add parseValueWithSchema methods

* docs: add parseValueWithSchema documentation

* refactor(form-core): rename FormApi#parseValuesWithSchema

This is to be consistent with other methods
that include the word Values.

* refactor(form-core): adjust unit tests for parseValuesWithSchema

* refactor(FormApi): rename parseFieldValuesWithSchema

Since we don't pass a field to the method, the term
shouldn't be included in the method name.

* docs: generate
2025-04-16 16:15:06 +02:00
Harry Whorlow
24edab3b93
docs(react): use type annotations instead of casting (#1417) 2025-04-16 10:45:06 +02:00
Pascal Küsgen
008b1d4ca2
feat(FieldApi): allow debounce of onChange and onBlur listener (#1375)
* feat(FieldApi): allow debounce of onChange and onBlur listener

* ci: apply automated fixes and generate docs

* feat: add ListenerCause type

* ci: apply automated fixes and generate docs

* docs: add debounce info to react listeners guide
2025-04-15 21:12:23 +02:00
Giorgio Boa
a1568ff667
docs: add form button note (#1353)
Co-authored-by: Harry Whorlow <whorlowharry@gmail.com>
2025-04-02 23:06:22 +02:00