vue-form
vue-form copied to clipboard
Min/Maxlength optional
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.