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

16 commits

Author SHA1 Message Date
Lachlan Collins
ffa4fb8b9d
docs: correct local relative links (#1906)
* docs: correct local relative links

* String
2025-12-05 22:39:01 +11: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
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
Leonardo Montini
26b3ddd9e6
docs: enable prettier (#1217)
* docs: enable prettier on all manually written docs - keep autogenerated ignored

* docs: format all
2025-03-04 12:48:41 +01:00
Corbin Crutchley
8a95048e0b
docs: improve get started guide for React to be more representative (#1214)
* docs: improve get started guide for React to be more representative

* docs: revise with feedback from @phryneas

* docs: minor additions

---------

Co-authored-by: Leonardo Montini <lion.48m@gmail.com>
2025-03-04 11:28:19 +01:00
Julian Espérat
c0ee012209
docs: remove void keyword from code handlers and documentation (#676) 2024-04-16 08:44:53 -07:00
Corbin Crutchley
e833f1a613
feat: remove form.Provider and drastically improve array usage
* feat: support array notation in DeepKeys and DeepValue types

* fix: support numerical values for arrays in DeepValue better

* feat!: remove form.Provider from React package

* chore: fix utils tests in regards to arrays

* feat!: remove form.Provider from Solid package

* chore!: proof of working arrays in react

* chore: change Vue behavior and types

* chore: fix CI, apply formatter, etc

* docs: remove mention of provider from docs

* chore: add test to React array usage

* test: add test to Solid form

* chore: fix Solid test

* chore: add array test to Vue

* chore: fix CI

* docs: add array example to react docs

* docs: improve the React basic concepts example

* chore: add React array example

* docs: add SolidJS example and docs

* chore: add Vue example

* docs: add array guide to Vue

* chore: fix CI

* chore: fix CI issues

* Apply suggestions from code review

Co-authored-by: fuko <43729152+fulopkovacs@users.noreply.github.com>

---------

Co-authored-by: fuko <43729152+fulopkovacs@users.noreply.github.com>
2024-03-13 04:35:47 -07:00
Corbin Crutchley
bc270fb8db docs: update reference docs for React 2023-12-11 11:26:35 -08:00
Corbin Crutchley
8e1723eef5 refactor!: move submission function to take object instead of two arguments 2023-12-11 11:26:35 -08:00
Aadit Olkar
6050fea779
feat: solid.js form (#471)
* solid commit -a

* fix failing tests and formatting

* comments + removed unneeded computed

* updated changes

* prettierd

* chore: add Solid Form to script to be deployed

* fix: fix typing of solid's Subscribe data

* chore: remove errant createEffect

* chore: rename Solid's useForm and useField to createForm and createField

* chore: remove old mention of React's memoization

* chore: add Solid simple example

* chore: add Solid yup example

* chore: add Zod Solid example

* docs: add initial docs for Solid package

---------

Co-authored-by: Corbin Crutchley <git@crutchcorn.dev>
2023-10-30 00:17:49 -07:00
Riley Bakes
119ce68903
docs(quick-start): add <form> tag to quick start example (#467) 2023-10-17 01:47:06 -07:00
Corbin Crutchley
6f76feee6b
fix: onSubmit should now behave as expected
* fix: memoize all non-function form props by default

* chore: migrate useStableFormOpts to useMemo

* fix: options passed to useField will not always cause a re-render

* chore: minor code cleanups

* test: add previously failing test to demonstrate fix

* chore: fix linting

* fix: running form.update repeatedly should not wipe form state

* test: add test to validate formapi update behavior

* test: add initial tests for useStableOptions

* chore: remove useStableOpts and useFormCallback
2023-09-06 19:33:52 -07:00
Corbin Crutchley
eea47f03dc docs: remove recently deleted props 2023-09-03 16:48:51 -07:00
spookyuser
0d7e545c1d
docs(form): Update Quick Start guide
I think this is correct form.Form didn't work for me
2023-09-03 01:25:31 -07:00
Tanner Linsley
6df2235497 docs: update 2023-04-28 08:08:12 -06:00
Tanner Linsley
5b7c6ce55d fix: UserChange/InputProps 2023-04-27 13:27:20 -06:00
Renamed from docs/react/quick-start.md (Browse further)