fix: fix style bug for grid "add filter" autocomplete
This commit is contained in:
parent
8ac414162d
commit
5493dfeae8
|
@ -14,7 +14,7 @@
|
||||||
:is-small="smallFilters"
|
:is-small="smallFilters"
|
||||||
ref="gridFilters" />
|
ref="gridFilters" />
|
||||||
|
|
||||||
<div class="buttons">
|
<div style="display: flex; gap: 0.5rem;">
|
||||||
|
|
||||||
<b-button @click="copyDirectLink()"
|
<b-button @click="copyDirectLink()"
|
||||||
title="Copy grid link to clipboard"
|
title="Copy grid link to clipboard"
|
||||||
|
@ -30,28 +30,29 @@
|
||||||
Apply Filters
|
Apply Filters
|
||||||
</b-button>
|
</b-button>
|
||||||
|
|
||||||
<b-button v-if="!addFilterShow"
|
<div>
|
||||||
@click="addFilterInit()"
|
<b-button v-if="!addFilterShow"
|
||||||
icon-pack="fas"
|
@click="addFilterInit()"
|
||||||
icon-left="plus"
|
icon-pack="fas"
|
||||||
:size="smallFilters ? 'is-small' : null">
|
icon-left="plus"
|
||||||
Add Filter
|
:size="smallFilters ? 'is-small' : null">
|
||||||
</b-button>
|
Add Filter
|
||||||
|
</b-button>
|
||||||
<b-autocomplete v-if="addFilterShow"
|
<b-autocomplete v-if="addFilterShow"
|
||||||
ref="addFilterAutocomplete"
|
ref="addFilterAutocomplete"
|
||||||
:data="addFilterChoices"
|
:data="addFilterChoices"
|
||||||
v-model="addFilterTerm"
|
v-model="addFilterTerm"
|
||||||
placeholder="Add Filter"
|
placeholder="Add Filter"
|
||||||
field="key"
|
field="key"
|
||||||
:custom-formatter="formatAddFilterItem"
|
:custom-formatter="formatAddFilterItem"
|
||||||
open-on-focus
|
open-on-focus
|
||||||
keep-first
|
keep-first
|
||||||
clearable
|
clearable
|
||||||
clear-on-select
|
clear-on-select
|
||||||
@select="addFilterSelect"
|
@select="addFilterSelect"
|
||||||
icon-pack="fas"
|
icon-pack="fas"
|
||||||
:size="smallFilters ? 'is-small' : null" />
|
:size="smallFilters ? 'is-small' : null" />
|
||||||
|
</div>
|
||||||
|
|
||||||
<b-button @click="resetView()"
|
<b-button @click="resetView()"
|
||||||
:disabled="viewResetting"
|
:disabled="viewResetting"
|
||||||
|
|
Loading…
Reference in a new issue