Commit 2ac12de2bd3d2d325c04828fa565509acb883340
Committed by
GitHub

Merge pull request #2526 from lepture/patch-2
Support more types on <i-input>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/input/input.vue
@@ -70,7 +70,7 @@ | @@ -70,7 +70,7 @@ | ||
70 | props: { | 70 | props: { |
71 | type: { | 71 | type: { |
72 | validator (value) { | 72 | validator (value) { |
73 | - return oneOf(value, ['text', 'textarea', 'password']); | 73 | + return oneOf(value, ['text', 'textarea', 'password', 'url', 'email', 'date']); |
74 | }, | 74 | }, |
75 | default: 'text' | 75 | default: 'text' |
76 | }, | 76 | }, |