Version 7.35.0-next.0 #8924
Unanswered
bluebill1049
asked this question in
General
Replies: 1 comment 4 replies
-
since we already assign the value passed must be That means but when I check field.value const { field, onChange } = useController({
control,
name,
});
const value = field.value
typeof value // this is not detected as date
onChange(4) // when I pass nondate, it still allowed is there a way to detect that the value in |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🎉 feature: new type
FieldPathByValue
field path by value generic implementation🐞 fix #8919 make useController fieldState properties enumerable
👶🏻 close #8909 form context children prop type (#8910)
🐌 allow field errors to escape type check when provided with any type
thanks to @carvalheiro, @chetvishal and @MicaelRodrigues
This discussion was created from the release Version 7.35.0-next.0.
Beta Was this translation helpful? Give feedback.
All reactions