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

Merge pull request #379 from qdentity/tabindex-support

Add tabindex support
This commit is contained in:
Jeff
2017-11-27 09:51:15 -08:00
committed by GitHub
+10
View File
@@ -310,6 +310,7 @@
class="form-control"
:disabled="disabled"
:placeholder="searchPlaceholder"
:tabindex="tabindex"
:readonly="!searchable"
:style="{ width: isValueEmpty ? '100%' : 'auto' }"
:id="inputId"
@@ -500,6 +501,15 @@
default: false
},
/**
* Set the tabindex for the input field.
* @type {Number}
*/
tabindex: {
type: Number,
default: null
},
/**
* When true, newly created tags will be added to
* the options list.