Merge pull request #2526 from lepture/patch-2

Support more types on <i-input>
This commit is contained in:
Aresn 2017-11-30 17:23:38 +08:00 committed by GitHub
commit 2ac12de2bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'
}, },