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

The way validators work #527

Open
paweleck opened this issue Oct 7, 2021 · 0 comments
Open

The way validators work #527

paweleck opened this issue Oct 7, 2021 · 0 comments

Comments

@paweleck
Copy link

paweleck commented Oct 7, 2021

Why decorator minLenght doesnt work the same way regular minlenght does?

The decorator sets "minLenght" error on a field where regular minlenght sets "minlenght" error.
And the decorator doesnt set requiredLength value of the error object, why?

How can I make the decorator work the same way as the regular validator?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant