From 0d9cc2e41ca0a9177a43b1bc9bffb6721d512507 Mon Sep 17 00:00:00 2001 From: 李通洲 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 5a1516a..0af953b 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: { -- libgit2 0.21.4