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

minLength and maxLength description switched in readme #100

Open
chaserelock opened this issue Apr 6, 2015 · 1 comment
Open

minLength and maxLength description switched in readme #100

chaserelock opened this issue Apr 6, 2015 · 1 comment

Comments

@chaserelock
Copy link

readme has:
maxLength

The length of value must be greater than or equal to expected value

{ maxLength: 8 }
minLength

The length of value must be lesser than or equal to expected value

{ minLength: 8 }

But in reality, the descriptions are the opposite. maxLength requires the value to be less than or equal to maxLength. minLength requires the value to be greater than or equal to minLength.

@Swaagie
Copy link
Member

Swaagie commented Apr 7, 2015

Good catch, feel free to change and pull request.

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

2 participants