Skip to content

Conversation

@IntelC-H
Copy link
Owner

No description provided.

xeka0 and others added 22 commits April 12, 2024 07:32
Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
…ect (#11831)

* fix: correct type of `error` field in `getFieldState` return object

* fix: update reports
…11873)

* feat: allow `iterateFieldsByAction` to iterate over multiple refs

* fix: `_disableForm` only disables one input when inputs share a name

* test: add unit tests for action iteration over multiple refs

* refactor: invert `abortEarly` param's logic to respect semantic meaning

* refactor: move ref iteration logic to if block

* chore: fix lint errors

* test: rename tests to reflect changes

* Update createFormControl.ts

* Update iterateFieldsByAction.ts

* Update iterateFieldsByAction.test.ts

---------

Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
* fix(11821): lodash get does not return defaultValue

When expression is evaluated as null the get method does not return defaultValue

* Update createFormControl.ts

---------

Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
…(#11888)

* Add Test to Prove that setError is not idempotent

* When setting error, preserve errors further down in object tree
* remove export on react hook form set

* revert change

* update api contract
* fix issue with set api

* remove test file

* add test coverage and update api contract
* fix: change info.values type in WatchObserver

* update API extractor
…turn object (#11831)"

This reverts commit 4549afd5afa8a824a1522e75f776083e4168aac6.
…r` (#11938)

* fix #11937 add validation in cleanup in useController

* Update src/useController.ts

---------

Co-authored-by: Beier (Bill) <bluebill1049@hotmail.com>
* 🐞 fix #11922 keep dirty on reset with dirty fields

* prettier
…(#11969)

* fix: enforce type safety for `deps` property in `RegisterOptions`

* refactor: remove unused import in validator.ts
* logic createFormControl check field before usage

* fix linter error
…ouched subscription (#11995)

* 👮‍♀️ close #11954 getFieldState remove unnessaried inValidating and touched subscription

* revert touched field state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants