Commit 0d9cc2e41ca0a9177a43b1bc9bffb6721d512507

Authored by 李通洲
1 parent 7435abb0

feat(Input): remove prop :autocomplete value validation

Showing 1 changed file with 1 additions and 3 deletions   Show diff stats
src/components/input/input.vue
@@ -141,9 +141,7 @@ @@ -141,9 +141,7 @@
141 default: false 141 default: false
142 }, 142 },
143 autocomplete: { 143 autocomplete: {
144 - validator (value) {  
145 - return oneOf(value, ['on', 'off']);  
146 - }, 144 + type: String,
147 default: 'off' 145 default: 'off'
148 }, 146 },
149 clearable: { 147 clearable: {