From 861d457944dd23f949ef94fb6ddde523dc4d5128 Mon Sep 17 00:00:00 2001 From: "WITT-AD\\Micgme" Date: Thu, 9 Feb 2017 18:24:46 +0100 Subject: [PATCH] make id of input-element customizeable --- src/components/Select.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/Select.vue b/src/components/Select.vue index 02bc3b4..4763ca2 100644 --- a/src/components/Select.vue +++ b/src/components/Select.vue @@ -198,6 +198,7 @@ :placeholder="searchPlaceholder" :readonly="!searchable" :style="{ width: isValueEmpty ? '100%' : 'auto' }" + :id="inputId" > @@ -407,6 +408,14 @@ noDrop: { type: Boolean, default: false + }, + + /** + * Sets the id of the input element. + * @type {String} + */ + inputId: { + type: String } },