15 Commits

Author SHA1 Message Date
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
Enyel Sequeira
b35ecd1107 docs: removed old docs and updated the docs of useForm in react (#434)
* docs: removed old docs and updated the docs of useForm in react

* chore: updated docs for react-use-form

---------

Co-authored-by: Corbin Crutchley <git@crutchcorn.dev>
2023-10-17 23:20:51 -07:00
Riley Bakes
119ce68903 docs(quick-start): add <form> tag to quick start example (#467) 2023-10-17 01:47:06 -07:00
Tanner Linsley
1fb28c53eb fix: refactor to flat generics with consistent names & patterns 2023-09-13 14:46:16 -06: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
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
b37628d337 fix: remove form.Form for headless form.getFormProps() 2023-05-04 15:39:15 -07:00
Tanner Linsley
276dcd4b52 Create fieldApi.md 2023-05-03 15:19:18 -07:00
Tanner Linsley
c444704ae3 fix: complete form factory functionality, docs 2023-05-01 10:59:37 -06:00
Tanner Linsley
8c87f04f99 docs: update 2023-04-28 08:26:51 -06:00
Tanner Linsley
6df2235497 docs: update 2023-04-28 08:08:12 -06:00
Tanner Linsley
f4d9159415 docs: udpate 2023-04-28 01:09:50 -06:00
Tanner Linsley
5b7c6ce55d fix: UserChange/InputProps 2023-04-27 13:27:20 -06:00