You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, you can apply multiple validators on single property, like:
scheme = {
host: [schema.isString, schema.minLength(5), schema.maxLength(10)]
password: schema.minLength([10])
}
If I want to have scheme like this:
I can't check if
host
is both a longer than 5 and shorter than 10.Either using multiple validators on a single property could be a really cool new feature or I'm missing something
The text was updated successfully, but these errors were encountered: