From 9bd074d4cbb1cc162a20f21acab77fa081164961 Mon Sep 17 00:00:00 2001 From: Hsiaoming Yang Date: Wed, 29 Nov 2017 22:34:13 +0900 Subject: [PATCH] Support more types on --- src/components/input/input.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/input/input.vue b/src/components/input/input.vue index abb79d2..b8b080b 100644 --- a/src/components/input/input.vue +++ b/src/components/input/input.vue @@ -70,7 +70,7 @@ props: { type: { validator (value) { - return oneOf(value, ['text', 'textarea', 'password']); + return oneOf(value, ['text', 'textarea', 'password', 'url', 'email', 'date']); }, default: 'text' }, -- libgit2 0.21.4