Commit 9bd074d4cbb1cc162a20f21acab77fa081164961

Authored by Hsiaoming Yang
Committed by GitHub
1 parent f62348cf

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