Aadit Olkar
31f6261208
feat: valibot form adapter ( #499 )
...
* feat: mount method on FormApi
* fix solid-form test case
* fix: added form.mount() to tests
* feat: valibot-form-adapter
* chore: add missing config items
* docs: add Valibot React example
* docs: add Solid Valibot example
* docs: add valibot Vue example
* fix: valibot async adapter now works
* docs: add docs for valibot adapter
---------
Co-authored-by: Corbin Crutchley <git@crutchcorn.dev >
2023-11-05 06:27:45 -08:00
Tanner Linsley
90bd06ff56
release: v0.8.1
2023-11-05 14:02:10 +00:00
Tanner Linsley
0982e3fe6c
release: v0.8.0
2023-11-05 13:16:34 +00:00
Tanner Linsley
5d3f0fd946
release: v0.7.2
2023-11-05 11:40:02 +00:00
Tanner Linsley
fd19453188
release: v0.7.1
2023-11-03 19:35:09 +00:00
Tanner Linsley
665894708c
release: v0.7.0
2023-11-01 02:25:38 +00:00
Tanner Linsley
84e257f310
release: v0.6.1
2023-10-30 07:48:01 +00:00
Tanner Linsley
bde212f23b
release: v0.6.0
2023-10-30 07:20:15 +00: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
Tanner Linsley
1b394a7e72
release: v0.5.0
2023-10-30 06:03:37 +00:00
Tanner Linsley
d739f2a064
release: v0.4.1
2023-10-18 09:36:20 +00:00
Tanner Linsley
280a3bf96b
release: v0.4.0
2023-10-18 09:23:40 +00:00
Corbin Crutchley
54652ee674
feat: Add Yup and Zod validator support ( #462 )
...
* chore: first pass
* chore: onto something I think
* chore: closer but no cigar
* chore: infer validator
* chore: infer zod
* feat: add validation transformer logic
* chore: fix typings for react adapter
* chore: fix issue with `this` not being defined properly
* chore: mostly update FieldInfo types from Vue
* chore: work on fixing type inferencing
* fix: make ValidatorType optional
* chore: make TName restriction easier to grok
* chore: fix React types
* chore: fix Vue types
* chore: fix typing issues
* chore: fix various linting items
* chore: fix ESlint and validation logic
* chore: fix inferencing from formdata
* chore: fix form inferencing
* chore: fix React TS types to match form validator logic
* chore: fix Vue types
* chore: migrate zod validation to dedicated package
* chore: add first integration test for zod adapter
* chore: enable non-validator types to be passed to validator
* feat: add yup 1.x adapter
* chore: add functionality and tests for form-wide validators
* chore: fix typings of async validation types
* fix: async validation should now run as-expected more often
* chore: add async tests for Yup validator
* chore: rename packages to match naming schema better
* chore: add Zod examples for React and Vue
* chore: add React and Vue Yup support
* chore: fix formatting
* chore: fix CI types
* chore: initial work to drastically improve docs
* docs: improve docs for validation
* docs: add adapter validation docs
2023-10-18 02:22:05 -07:00
Tanner Linsley
a721443870
release: v0.3.7
2023-10-17 11:56:39 +00:00
Tanner Linsley
0159e61103
release: v0.3.6
2023-09-14 15:08:50 +00:00
Tanner Linsley
9e5fef402e
release: v0.3.5
2023-09-13 20:48:04 +00:00
Tanner Linsley
658c8f8c6c
release: v0.3.4
2023-09-09 11:05:16 +00:00
Tanner Linsley
192ffceca7
release: v0.3.3
2023-09-09 10:42:22 +00:00
Corbin Crutchley
160f71275f
fix: Field components should now infer state.value properly
...
* chore: refactor TS typings for React
* fix: field should now infer state.value properly in React adapter
* chore: fix Vue package typings
* chore: fix linting
* chore: fix React adapter
* chore: improve performance of TData type in FieldApi
* chore: add back index and parent type
* chore: add Vue TSC dep on Vue example
* chore: fix lint and type test
* chore: update Vite stuff
* chore: add implicit dep for Vue and React examples
* chore: add type test pre-req
* chore: install deps from examples in PR CI
* chore: remove filter from more installation
2023-09-09 03:40:29 -07:00
Tanner Linsley
b5a768f182
release: v0.3.2
2023-09-09 07:27:24 +00:00
Corbin Crutchley
539cbfb2f5
fix: build script should now execute on all targets ( #459 )
...
* fix: build script should now execute on all targets
* chore: revert back to pnpm workspace file
2023-09-09 00:26:10 -07:00
Corbin Crutchley
707ff5d603
chore: fix errrors in examples, remove unneeded CI steps ( #457 )
2023-09-09 00:04:42 -07:00
Tanner Linsley
826c58d5c2
release: v0.3.1
2023-09-09 06:44:30 +00:00
Corbin Crutchley
f6bb80ef93
chore: bump package version ( #450 )
2023-09-07 20:19:27 -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
Corbin Crutchley
2a31bd8219
feat: remove getFormProps to support React Native
2023-09-03 16:48:51 -07:00
Corbin Crutchley
c392c6100d
docs: improve docs, add disclaimer where docs are outdated ( #412 )
2023-08-29 15:08:25 -07:00
Corbin Crutchley
77594a63ba
fix: eslint for example project ( #407 )
...
* chore: fix eslint for example project
* chore: fix linting
2023-08-28 18:22:22 -07:00
Tanner Linsley
9beacc44a0
release: v0.0.11
2023-06-13 21:38:41 +00:00
Brandon Bayer
a3f9709dde
fix: several type and build errors and fix example type inference ( #399 )
...
* fix few type errors and fix example
* couple fixes
* fix babel
2023-06-13 15:36:42 -06:00
Tanner Linsley
884235f211
fix: router + store
2023-05-07 23:33:39 -06:00
Tanner Linsley
ee4cc3f51f
release: v0.0.10
2023-05-04 23:07:20 +00:00
Tanner Linsley
ca8f244b5e
fix: form.Provider
2023-05-04 16:05:36 -07:00
Tanner Linsley
07ddd2c2d6
Merge branch 'main' of https://github.com/TanStack/form
2023-05-04 15:39:17 -07:00
Tanner Linsley
b37628d337
fix: remove form.Form for headless form.getFormProps()
2023-05-04 15:39:15 -07:00
Tanner Linsley
7526403730
release: v0.0.9
2023-05-04 19:45:27 +00:00
Tanner Linsley
2ae8db4a1c
release: v0.0.8
2023-05-04 19:34:37 +00:00
Tanner Linsley
30e74334c4
Update index.tsx
2023-05-03 15:47:42 -07:00
Tanner Linsley
62a82fe48f
fix: array-field mode and utilities
2023-05-03 15:16:56 -07:00
Tanner Linsley
ab651b4c2b
release: v0.0.7
2023-05-01 18:24:18 +00:00
Tanner Linsley
39555fc8a2
release: v0.0.6
2023-05-01 18:00:45 +00:00
Tanner Linsley
c444704ae3
fix: complete form factory functionality, docs
2023-05-01 10:59:37 -06:00
Tanner Linsley
b274bccf3d
fix: createFormFactory
2023-05-01 10:27:51 -06:00
Tanner Linsley
140daf605c
release: v0.0.5
2023-04-27 19:28:58 +00:00
Tanner Linsley
5e209cd8d9
release: v0.0.4
2023-04-26 23:50:28 +00:00
Tanner Linsley
4862d15ff9
release: v0.0.3
2023-04-26 20:59:42 +00:00
Tanner Linsley
d7cb9b43dd
fix: react reexports core, sync + async validation, debouncing
2023-04-26 14:57:53 -06:00
Tanner Linsley
aa92d2028d
release: v0.0.2
2023-04-26 06:01:54 +00:00
Tanner Linsley
1097629559
release: v4.0.2
2023-04-26 05:47:56 +00:00