-
Hi, my form (mode onBlur) has default values that are not valid. For example, the |
Beta Was this translation helpful? Give feedback.
Answered by
Moshyfawn
Jan 31, 2022
Replies: 1 comment 2 replies
-
Hello! First of all, your CSB has the beta release of RHF version 7 installed, which isn't recommended to use. To check an empty string input as an invalid initial value, you should use |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
thaorell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
First of all, your CSB has the beta release of RHF version 7 installed, which isn't recommended to use.
To check an empty string input as an invalid initial value, you should use
required
attribute instead ofminLength
. See this CSB with a working example