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

Add tabindex support

This commit is contained in:
Jan-Willem
2017-11-27 10:16:41 +01:00
parent 9e340b5c80
commit 9b8b4dcc80
+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.