Merge pull request #2526 from lepture/patch-2
Support more types on <i-input>
This commit is contained in:
commit
2ac12de2bd
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@
|
||||||
props: {
|
props: {
|
||||||
type: {
|
type: {
|
||||||
validator (value) {
|
validator (value) {
|
||||||
return oneOf(value, ['text', 'textarea', 'password']);
|
return oneOf(value, ['text', 'textarea', 'password', 'url', 'email', 'date']);
|
||||||
},
|
},
|
||||||
default: 'text'
|
default: 'text'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue