From 0d9cc2e41ca0a9177a43b1bc9bffb6721d512507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Fri, 12 Apr 2019 15:45:49 +0800 Subject: [PATCH] feat(Input): remove prop :autocomplete value validation --- src/components/input/input.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/input/input.vue b/src/components/input/input.vue index 5a1516ac..0af953b7 100644 --- a/src/components/input/input.vue +++ b/src/components/input/input.vue @@ -141,9 +141,7 @@ default: false }, autocomplete: { - validator (value) { - return oneOf(value, ['on', 'off']); - }, + type: String, default: 'off' }, clearable: {