support prop 'for' (#6049)

pull/7623/head
baiyaaaaa 2017-10-21 22:00:06 -05:00 committed by 杨奕
parent 18e49794d4
commit c3cf3f2389
2 changed files with 8 additions and 5 deletions

View File

@ -81,6 +81,7 @@
rules: [Object, Array],
error: String,
validateStatus: String,
for: String,
inlineMessage: {
type: [String, Boolean],
default: ''

View File

@ -106,15 +106,20 @@
placeholder: String,
size: String,
resize: String,
icon: String,
name: String,
form: String,
id: String,
maxlength: Number,
minlength: Number,
readonly: Boolean,
autofocus: Boolean,
icon: String,
disabled: Boolean,
onIconClick: Function,
type: {
type: String,
default: 'text'
},
name: String,
autosize: {
type: [Boolean, Object],
default: false
@ -127,9 +132,6 @@
type: String,
default: 'off'
},
form: String,
maxlength: Number,
minlength: Number,
max: {},
min: {},
step: {},