Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a7e39d9

Browse files
author
Lionel Bijaoui
committedSep 1, 2016
enhancement: add minlength attribute to textarea
1 parent f5af70c commit a7e39d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/fields/fieldTextArea.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template lang="jade">
2-
textarea.form-control(v-model="value", :autocomplete="schema.autocomplete", :disabled="disabled", :maxlength="schema.max", :placeholder="schema.placeholder", :readonly="schema.readonly", :rows="schema.rows || 2")
2+
textarea.form-control(v-model="value", :autocomplete="schema.autocomplete", :disabled="disabled", :maxlength="schema.max", :minlength="schema.min", :placeholder="schema.placeholder", :readonly="schema.readonly", :rows="schema.rows || 2")
33
</template>
44

55
<script>

0 commit comments

Comments
 (0)
Please sign in to comment.