From 9b8b4dcc80f03b96502a1d10a95b7556ac8584d2 Mon Sep 17 00:00:00 2001 From: Jan-Willem Date: Mon, 27 Nov 2017 10:16:41 +0100 Subject: [PATCH] Add tabindex support --- src/components/Select.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/components/Select.vue b/src/components/Select.vue index be9f45e..6b61158 100644 --- a/src/components/Select.vue +++ b/src/components/Select.vue @@ -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.