Commit dd00f055e1b84cfb603672f910515dab9bf2897f

Authored by Aresn
Committed by GitHub
2 parents bb060b98 0d9cc2e4

Merge pull request #5616 from CarterLi/2.0

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: {