Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Min/Maxlength optional #4

Open
malles opened this issue Dec 14, 2015 · 0 comments
Open

Min/Maxlength optional #4

malles opened this issue Dec 14, 2015 · 0 comments

Comments

@malles
Copy link
Contributor

malles commented Dec 14, 2015

It would be nice to let the vaidation of minLength and maxLength validators optional by passing in 0 for the arg. This way it can be set dynamically more easy.

<textarea name="text" v-model="text" v-validate:minLength="0" v-validate:maxLength="50"></textarea>
Would only validate maxlength.

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

No branches or pull requests

1 participant