Commit Graph

7 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
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