Is there a replacement for validFieldsRef in v7? #11620
Unanswered
MaxMcNally
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In our codebase, which is using RHF v6, someone wrote some code that relies on the
validFieldsRef
of thecontrol
object. It doesn't seem to exist in v7, so I need to find a replacement. I wrote some code that attempts to replicate the functionality -It doesn't seem to work the same though. I think the problem is with
isDirty
. Any ideas how to replicate this functionality?Beta Was this translation helpful? Give feedback.
All reactions