mirror of https://github.com/ElemeFE/element
support Input min & max prop
parent
60a812ad18
commit
547293e366
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue