forked from TanStack/form
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add docs #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* chore(deps): update all non-major dependencies * chore: fix issues with typescript patches * ci: apply automated fixes and generate docs --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Corbin Crutchley <git@crutchcorn.dev> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
… setTimeout memory leak (#962)
* chore: fix timeout issues * ci: apply automated fixes and generate docs --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: dont merge arrays in `mergeForm` - this causes form submissions to be duplicated when having an array field in your form * ci: apply automated fixes and generate docs * test: add more tests * ci: apply automated fixes and generate docs --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: remove mount validation on touch * ci: apply automated fixes and generate docs * fix: tests * ci: apply automated fixes and generate docs * test: check onChange and onMount overlapping --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore: update valibot dependency * Sync version --------- Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
… values (#791) * feat: added ability to specify values for `form.reset` method * test: add test for new default values * feat: reset defaultValues and control overriding with a flag * ci: apply automated fixes and generate docs * test: add default meta to failing test --------- Co-authored-by: Leonardo Montini <lion.48m@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* feat(react-form): support Remix SSR * update deps, update createServerValidate, fix ci errors * docs: add remix example to the docs sidebar --------- Co-authored-by: Leonardo Montini <lion.48m@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(core): run form submit validator once on submit * ci: apply automated fixes and generate docs --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…assed (#1029) * fix(form-core): make sure async form validator is called only if sync field & form passed * docs: update references * tests: add test for asyncAlways in the field
* fix: simplify useForm return type * ci: apply automated fixes and generate docs * fix: restore validator type * ci: apply automated fixes and generate docs --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore: add compiler demo # Conflicts: # pnpm-lock.yaml * chore: add React compiler ESLint rules to React package * chore!: remove useField and useStore APIs returned from useForm * fix: Field rerenders properly when using React Compiler * chore: fix issues with deprecated APIs in tests * chore: fix build and type issues * docs: remove reference to form.useField and form.useStore * ci: apply automated fixes and generate docs * chore: fix ci --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: export useStore in Solid, React, and Vue forms * ci: apply automated fixes and generate docs --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: remove errant TypeScript types * ci: apply automated fixes and generate docs * chore: fix ui libraries example * ci: apply automated fixes and generate docs --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This approach should be better than the previous one since this infers the type.
* feat: naive implementation as adapter * test: naive test with valibot * feat: add async validation support * feat: define standard schema adapter in form-core * feat: support arktype's function-based structure and path * ci: apply automated fixes and generate docs * feat: validate form with standard schema without adapter * feat: validate field with standard schema without adapter * test: add todo tests for zod * ci: apply automated fixes and generate docs * fix: spread field errors from form validator * docs: add example with multiple schemas * chore: bump valibot and uncomment failing tests * docs: mention standard schema * feat: accept functional sync validator even with an adapter set * chore: bump versions * docs: gen * ci: apply automated fixes and generate docs * feat: integrate zod * docs: update with zod and simplify examples * ci: apply automated fixes and generate docs * docs: mention latest version for schema libraries
…icit adapter (#1064) * fix: allow standard schema validator on fields without adapter * doc: mention standard schema in basic-concepts
standard schema libraries do not need an adapter anymore
* fix: reintroduce mandatori standard schema adapter * ci: apply automated fixes and generate docs * fix: add standard any * ci: apply automated fixes and generate docs * fix: embed standard schema types * ci: apply automated fixes and generate docs * fix: make standar adapter optional again * ci: apply automated fixes and generate docs * fix: remove again adapter in example - it works now
there were a bunch ts-ignores, which looks bad on an example Co-authored-by: Misha Kaletsky <mmkal@users.noreply.github.com>
Signed-off-by: Pascal Küsgen <pascalkuesgen@gmail.com>
* chore: WIP migration to derived state * chore!: temporarily remove broken tests * ci: apply automated fixes and generate docs * chore: refactor derived state in FormApi to use Derived class * ci: apply automated fixes and generate docs * chore: fix build * ci: apply automated fixes and generate docs * Revert "chore: fix build" This reverts commit 4087d87. * ci: apply automated fixes and generate docs * chore: migrate to form mount on every test * chore: simplify complex tests * ci: apply automated fixes and generate docs * chore: refactor all derived state into `FormApi`, even field derived values * ci: apply automated fixes and generate docs * chore: fix build * fix: only regenerate field.errors when field.errorMap has changed * chore: fix tests * ci: apply automated fixes and generate docs * chore: add previously failing test * chore: only recompute errors when prevDepVal is different * ci: apply automated fixes and generate docs * chore: WIP validate new Store API * chore: fix issues with tests * ci: apply automated fixes and generate docs * chore: fix build * ci: apply automated fixes and generate docs * fix: all tests now pass in Form Core and React Form * chore: bump Store to 0.7 * ci: apply automated fixes and generate docs * chore: fix issues with Sherif, fix mount tests * ci: apply automated fixes and generate docs * test: add previously failing useStore test * ci: apply automated fixes and generate docs * chore: fix timing with Solid Form * ci: apply automated fixes and generate docs * chore: key rename and fix comment * ci: apply automated fixes and generate docs * chore: fix eslint --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Hi! I'm the It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.