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

5 commits

Author SHA1 Message Date
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
Daniel Stafford
f7568a6129
docs: missing field reference in react native (#947) 2024-09-12 09:05:02 +02:00
Christian24
565d9d678b
feat: add Lit adapter for Tanstack form (#577)
* Initial Lit commit

* Fix tests

* Fix types

* Remove unused packages

* Remove unused packages

* Run prettier

* Removed tsup

* Change exports

* Add simple example

* Prettier

* New example

* Add docs

* 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

* Update docs/framework/lit/quick-start.md

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

* Update packages/lit-form/src/tanstack-form-controller.ts

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

* Update docs/framework/lit/quick-start.md

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

* Add textarea
Fix issue in ControlValueAccessor

* 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

* chore: fix CI

* chore: add back errorText to UI library demo

* chore: add back error validation in simple demo

* chore: fix default value issues

* docs: remove mention of bind in quickstart docs

* docs: add to publish and docs

---------

Co-authored-by: Corbin Crutchley <git@crutchcorn.dev>
Co-authored-by: fuko <43729152+fulopkovacs@users.noreply.github.com>
2024-03-13 05:00:57 -07:00
Vinit Sarvade
0a6278ead6
docs: add react-native usage guide (#558) 2024-01-11 12:47:37 -08:00