Add Buefy support for enum grid filters
This commit is contained in:
parent
ef7b2ddbdd
commit
be6a1d916f
3 changed files with 20 additions and 0 deletions
|
@ -36,6 +36,17 @@
|
|||
ref="valueInput">
|
||||
</tailbone-datepicker>
|
||||
|
||||
<b-select v-if="filter.data_type == 'choice'"
|
||||
v-model="filter.value"
|
||||
v-show="! (filter.valueless_verbs && filter.valueless_verbs.includes(filter.verb))"
|
||||
ref="valueInput">
|
||||
<option v-for="choice in filter.choices"
|
||||
:key="choice"
|
||||
:value="choice">
|
||||
{{ filter.choice_labels[choice] || choice }}
|
||||
</option>
|
||||
</b-select>
|
||||
|
||||
<b-input v-if="filter.data_type == 'string'"
|
||||
v-model="filter.value"
|
||||
v-show="! (filter.valueless_verbs && filter.valueless_verbs.includes(filter.verb))"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue