Skip to content
Discussion options

You must be logged in to vote

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 of minLength. See this CSB with a working example

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Moshyfawn
Comment options

@thaorell
Comment options

Answer selected by thaorell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants