2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-22 10:30:34 +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" class="form-control"
:disabled="disabled" :disabled="disabled"
:placeholder="searchPlaceholder" :placeholder="searchPlaceholder"
:tabindex="tabindex"
:readonly="!searchable" :readonly="!searchable"
:style="{ width: isValueEmpty ? '100%' : 'auto' }" :style="{ width: isValueEmpty ? '100%' : 'auto' }"
:id="inputId" :id="inputId"
@@ -500,6 +501,15 @@
default: false 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 * When true, newly created tags will be added to
* the options list. * the options list.