Add support for Buefy datepicker in grid filters
This commit is contained in:
parent
0f0b32d797
commit
d5d04b7dac
5 changed files with 26 additions and 4 deletions
|
@ -28,7 +28,16 @@
|
|||
</option>
|
||||
</b-select>
|
||||
|
||||
<b-input v-model="filter.value"
|
||||
## only one of the following "value input" elements will be rendered
|
||||
|
||||
<tailbone-datepicker v-if="filter.data_type == 'date'"
|
||||
v-model="filter.value"
|
||||
v-show="! (filter.valueless_verbs && filter.valueless_verbs.includes(filter.verb))"
|
||||
ref="valueInput">
|
||||
</tailbone-datepicker>
|
||||
|
||||
<b-input v-if="filter.data_type == 'string'"
|
||||
v-model="filter.value"
|
||||
v-show="! (filter.valueless_verbs && filter.valueless_verbs.includes(filter.verb))"
|
||||
ref="valueInput">
|
||||
</b-input>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue