Skip to content

Commit f5d99a0

Browse files
authored
Merge pull request sagalbot#379 from qdentity/tabindex-support
Add tabindex support
2 parents 9e340b5 + 9b8b4dc commit f5d99a0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/components/Select.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@
310310
class="form-control"
311311
:disabled="disabled"
312312
:placeholder="searchPlaceholder"
313+
:tabindex="tabindex"
313314
:readonly="!searchable"
314315
:style="{ width: isValueEmpty ? '100%' : 'auto' }"
315316
:id="inputId"
@@ -500,6 +501,15 @@
500501
default: false
501502
},
502503
504+
/**
505+
* Set the tabindex for the input field.
506+
* @type {Number}
507+
*/
508+
tabindex: {
509+
type: Number,
510+
default: null
511+
},
512+
503513
/**
504514
* When true, newly created tags will be added to
505515
* the options list.

0 commit comments

Comments
 (0)