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
<template>
<b-row>
<b-col cols="3">
<b-col>
<h3>{{ title }}</h3>
</b-col>
<b-col align="right">
<b-col
v-if="shows.length > 10"
align="right"
>
<b-input-group prepend="Select show:">
<b-form-input
v-model="inputSelector"
......@@ -38,7 +41,7 @@
</datalist>
</b-col>
<b-col
cols="3"
v-else
align="right"
>
<b-dropdown
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment