support Input min & max prop

pull/922/head
baiyaaaaa 2016-11-08 20:13:52 +08:00
parent 60a812ad18
commit 547293e366
1 changed files with 5 additions and 1 deletions

View File

@ -26,6 +26,8 @@
:minlength="minlength" :minlength="minlength"
:autocomplete="autoComplete" :autocomplete="autoComplete"
:autofocus="autofocus" :autofocus="autofocus"
:min="min"
:max="max"
:form="form" :form="form"
:value="value" :value="value"
ref="input" ref="input"
@ -95,7 +97,9 @@
}, },
form: String, form: String,
maxlength: Number, maxlength: Number,
minlength: Number minlength: Number,
max: {},
min: {}
}, },
methods: { methods: {