Support more types on <i-input>

This commit is contained in:
Hsiaoming Yang 2017-11-29 22:34:13 +09:00 committed by GitHub
parent f62348cf1f
commit 9bd074d4cb
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'
}, },