diff options
Diffstat (limited to 'app/assets/javascripts/vue_shared/components/timezone_dropdown')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/timezone_dropdown/timezone_dropdown.vue | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/app/assets/javascripts/vue_shared/components/timezone_dropdown/timezone_dropdown.vue b/app/assets/javascripts/vue_shared/components/timezone_dropdown/timezone_dropdown.vue index 423501265d7..247f49c1345 100644 --- a/app/assets/javascripts/vue_shared/components/timezone_dropdown/timezone_dropdown.vue +++ b/app/assets/javascripts/vue_shared/components/timezone_dropdown/timezone_dropdown.vue @@ -30,6 +30,11 @@ export default { required: true, default: () => [], }, + additionalClass: { + type: Array, + required: false, + default: () => [], + }, }, data() { return { @@ -96,7 +101,14 @@ export default { :value="timezoneIdentifier || value" type="hidden" /> - <gl-dropdown :text="selectedTimezoneLabel" block lazy menu-class="gl-w-full!" v-bind="$attrs"> + <gl-dropdown + :text="selectedTimezoneLabel" + :class="additionalClass" + block + lazy + menu-class="gl-w-full!" + v-bind="$attrs" + > <gl-search-box-by-type v-model.trim="searchTerm" v-autofocusonshow autofocus /> <gl-dropdown-item v-for="timezone in filteredResults" |