Browse Source

Autocomplete: support maxlength and minlength

Leopoldthecoder 7 years ago
parent
commit
fac4bdf2f3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/autocomplete/src/autocomplete.vue

+ 2 - 0
packages/autocomplete/src/autocomplete.vue

@@ -92,6 +92,8 @@
       name: String,
       size: String,
       value: String,
+      maxlength: Number,
+      minlength: Number,
       autofocus: Boolean,
       fetchSuggestions: Function,
       triggerOnFocus: {