* initial attempt to add back form validation
* uncomment tests
* fixed form validation not running
* onChange + onBlur
* feat: mount method on FormApi
* fix solid-form test case
* fix checkLatest
* add onMount logic + test
* fix: run mount on proper API
* test: add React Form onChange validation tests
---------
Co-authored-by: aadito123 <aaditolkar123@gmail.com>
Co-authored-by: aadito123 <63646058+aadito123@users.noreply.github.com>
* feat: add preserve value to field API
* removed conflict
* add test for core/fieldAPI
* add test for react/fieldAPI
* chore: fix TS usage and format
---------
Co-authored-by: Corbin Crutchley <git@crutchcorn.dev>
* 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
* feature(FieldAPI): Change from touched error message and error message to error map and array of errors
BREAKING CHANGE: The touched Error and error field has been removed will be replaced with touched errors array and errors map.
* feat: update documentation for updated fields
* chore: update Vue adapter as well
* fix: update getErrorMapKey to return onChange when change is the validation cause
* chore: remove console.log
---------
Co-authored-by: Corbin Crutchley <git@crutchcorn.dev>
* 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
* chore: update store dependency
* fix: form meta should never be undefined now
* chore: fix tests that only break on fast computers
Guess I don't need to upgrade my computer anytime soon 😅😅
* fix: initial work at fixing the typescript typings for fieldapi to be more strict
* chore(form-core): change implementation of strict tdata
* fix(form-core): insertValue should now be typed properly
* test(form-core): validate array helpers
* fix(form-core): make types for getSubField more narrow
* chore: autoformat with prettier
* chore: fix tests, eslint
* chore: upgrade eslint deps
* chore: upgrade nx and concurrent
* chore: remove svelte from prettier plugins
* chore: upgrade TypeScript version to avoid a TS codegen bug
* chore: remove React 17 CI script temporarily
* chore: fix build and formatter