vue-form icon indicating copy to clipboard operation
vue-form copied to clipboard

Min/Maxlength optional

Open malles opened this issue 9 years ago • 0 comments

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.

malles avatar Dec 14 '15 14:12 malles