2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-10 07:52:23 +03:00

Make autocomplete value a prop (#730)

What
---
- Turn the autocomplete value on the `input` configurable by exposing it
as a prop.

Why
---
So it can be customised, which can be necessary to help developers show
or hide autocomplete forms as they wish.
This commit is contained in:
Erik Nygren
2019-02-09 23:05:00 +00:00
committed by Jeff Sagal
parent fdd0d535e1
commit 85ae9771f0
2 changed files with 22 additions and 1 deletions
+10
View File
@@ -34,6 +34,16 @@ disabled: {
default: false
},
/**
* Value of the 'autocomplete' field of the input
* element.
* @type {String}
*/
autocomplete: {
type: String,
default: 'off'
},
/**
* Sets the max-height property on the dropdown list.
* @deprecated