Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix maxLength in playground example #507

Closed
wants to merge 1 commit into from

Conversation

uwemaurer
Copy link

I assume it was intended to show min & max length validation here instead of minLength twice

@fabian-hiller
Copy link
Owner

No, this is intentional. minLength(1) makes the field "required" and minLength(8) defines the minimum length of the password. But I agree that without individual error strings minLength(8) would be sufficient.

@fabian-hiller fabian-hiller self-assigned this Apr 6, 2024
@fabian-hiller fabian-hiller added invalid This doesn't seem right intended The behavior is expected labels Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
intended The behavior is expected invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants