0
Fork 0
mirror of https://github.com/TanStack/form.git synced 2026-11-18 07:36:42 +00:00
form/docs/framework/react/guides
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>
History 2026-05-07 02:29:49 -07:00
..
arrays.md docs: enable prettier (#1217) 2025-03-04 12:48:41 +01:00
async-initial-values.md docs: fix punctuation and grammar issues (#1970) 2026-01-03 12:49:06 +01:00
basic-concepts.md [Docs] Refine language and formatting in react basic concepts guide (#1943) 2025-12-21 12:28:55 +01:00
custom-errors.md docs(form): Fix grammar issues in the guides (#1965) 2026-01-04 10:51:28 +01:00
debugging.md docs: fix punctuation and grammar issues (#1970) 2026-01-03 12:49:06 +01:00
devtools.md docs(form): Fix grammar issues in the guides (#1965) 2026-01-04 10:51:28 +01:00
dynamic-validation.md docs(form): Fix grammar issues in the guides (#1965) 2026-01-04 10:51:28 +01:00
focus-management.md docs: Simplify focus-management example for invalid inputs (#1922) 2025-12-08 14:23:08 -08:00
form-composition.md docs(react): fix incorrect form component reference in code comment (#2126) 2026-05-06 02:56:28 -07:00
linked-fields.md docs(form): Fix grammar issues in the guides (#1965) 2026-01-04 10:51:28 +01:00
listeners.md fix(core): field unmount (#2068) 2026-03-27 18:46:47 +01:00
react-native.md feat(form-core): add <FieldMeta>.isValid (#1422) 2025-04-29 12:21:58 +02:00
reactivity.md docs(form): Fix grammar issues in the guides (#1965) 2026-01-04 10:51:28 +01:00
ssr.md docs(*): fix broken code examples in Vue and React SSR guides (#2046) 2026-03-09 09:01:39 +01:00
submission-handling.md docs(form): Fix grammar issues in the guides (#1965) 2026-01-04 10:51:28 +01:00
ui-libraries.md docs(react-form): add Chakra UI integration guide (#1909) 2026-01-15 15:57:15 +01:00
validation.md docs(react-form): show how to render formErrorMap.onChange when using Standard Schema (#2139) 2026-05-07 02:29:49 -07:00