Skip to content
Snippets Groups Projects
Commit 47d1ec99 authored by jackie / Andrea Ida Malkah Klaura's avatar jackie / Andrea Ida Malkah Klaura
Browse files

switch from dropdown to text input if > 10 shows; fix #28

This is for now hardcoded to 10, but in Aura 1.1 or 1.2 this
should become configurable by the dashboard user.
parent 27a9ae70
No related branches found
No related tags found
No related merge requests found
<template> <template>
<b-row> <b-row>
<b-col cols="3"> <b-col>
<h3>{{ title }}</h3> <h3>{{ title }}</h3>
</b-col> </b-col>
<b-col align="right"> <b-col
v-if="shows.length > 10"
align="right"
>
<b-input-group prepend="Select show:"> <b-input-group prepend="Select show:">
<b-form-input <b-form-input
v-model="inputSelector" v-model="inputSelector"
...@@ -38,7 +41,7 @@ ...@@ -38,7 +41,7 @@
</datalist> </datalist>
</b-col> </b-col>
<b-col <b-col
cols="3" v-else
align="right" align="right"
> >
<b-dropdown <b-dropdown
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment