Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* auto reset form values with reactive values prop * remove redundant set * update API * check for object instead of null/undefined * remove redundant Object.is and isObject check * πincrease bundle check size * rename from `resetValuesOptions` to `resetOptions` * update API extrator * update with test cases * remove extra sleep function * remove useCallback * deps package update * fix build * Revert "fix build" This reverts commit a3e78d0. * Revert "deps package update" asdasdahhhhhkl : This reverts commit bcbb120. * support async defaultValues * fix defaultValues as default state * fix type * update API extrator * add missing type test * save bytes * brought change from main * 7.40.0-next.0 * improve resetOptions with keepDirtyValues without subscription to formState * keep update dirty fields internally without subscription * update type for AsyncDefaultValues * update api extrator * update packages * infer type from async defaultValues (#9387) * infer type from async defaultValues * fix type cast * update api extractor * Update src/types/utils.ts Co-authored-by: Felix Schorer <felixschorer@users.noreply.github.com> * Update src/types/form.ts Co-authored-by: Felix Schorer <felixschorer@users.noreply.github.com> * update api extrator Co-authored-by: Felix Schorer <felixschorer@users.noreply.github.com> * 7.40.0-next.1 * fix UnPackDefaultValues at path level and rename tsd to test:type * Revert "fix UnPackDefaultValues at path level and rename tsd to test:type" This reverts commit 362f369. * fix array field path * fix api extrator * - fix touched, dirty field state promise infer - change tsd script to run test:type - added more type test coverage for promise infer * - rename to UnPackAsyncDefaultValues - fix build * - fix test script for workflow - update api extrator * update packages * type test coverage for each hooks * resolve conflict from master branch * - fix test case - fix import * as react * move getValidationModes to logic folder * fix import * revert change on useWatch * - update test case to include controlled component - remove inline sleep function Co-authored-by: Felix Schorer <felixschorer@users.noreply.github.com>
- Loading branch information
1 parent
cb666b8
commit fcd7985
Showing
20 changed files
with
1,637 additions
and
1,859 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
- name: Test | ||
run: | | ||
yarn test --ci | ||
yarn tsd | ||
yarn test:type | ||
- name: Bundle watch | ||
run: | | ||
|
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
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
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
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
Oops, something went wrong.