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], rules: [Object, Array],
error: String, error: String,
validateStatus: String, validateStatus: String,
for: String,
inlineMessage: { inlineMessage: {
type: [String, Boolean], type: [String, Boolean],
default: '' default: ''

View File

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