fix: refs #8224 update VnSelect component to handle nullish emit-value correctly
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
This commit is contained in:
parent
efa68e9489
commit
23dbd2a862
|
@ -72,41 +72,57 @@ function copyValue() {
|
|||
}
|
||||
</script>
|
||||
<template>
|
||||
<QMenu ref="qmenuRef" :target class="column q-pa-sm" auto-close no-parent-event>
|
||||
<QMenu
|
||||
ref="qmenuRef"
|
||||
:target
|
||||
class="column q-pa-sm justify-left"
|
||||
auto-close
|
||||
no-parent-event
|
||||
>
|
||||
<QBtn
|
||||
flat
|
||||
icon="filter_list"
|
||||
@click="selectionFilter()"
|
||||
class="text-weight-regular"
|
||||
align="left"
|
||||
:label="$t('Filter by selection')"
|
||||
no-caps
|
||||
/>
|
||||
<QBtn
|
||||
flat
|
||||
icon="dangerous"
|
||||
@click="selectionExclude()"
|
||||
class="text-weight-regular"
|
||||
align="left"
|
||||
:label="$t('Exclude selection')"
|
||||
no-caps
|
||||
/>
|
||||
<QBtn
|
||||
flat
|
||||
icon="filter_list_off"
|
||||
@click="selectionRemoveFilter()"
|
||||
class="text-weight-regular"
|
||||
align="left"
|
||||
:label="$t('Remove filter')"
|
||||
no-caps
|
||||
/>
|
||||
<QBtn
|
||||
flat
|
||||
icon="filter_list_off"
|
||||
@click="removeAllFilters()"
|
||||
class="text-weight-regular"
|
||||
align="left"
|
||||
:label="$t('Remove all filters')"
|
||||
no-caps
|
||||
/>
|
||||
<QBtn
|
||||
flat
|
||||
icon="file_copy"
|
||||
@click="copyValue()"
|
||||
class="text-weight-regular"
|
||||
align="left"
|
||||
:label="$t('Copy value')"
|
||||
no-caps
|
||||
/>
|
||||
</QMenu>
|
||||
</template>
|
||||
|
|
|
@ -459,7 +459,7 @@ function getOptionLabel(property) {
|
|||
</QItemSection>
|
||||
</QItem>
|
||||
</template>
|
||||
<template #selected v-if="valueIsObject && $attrs['emit-value']">
|
||||
<template #selected v-if="valueIsObject && nullishToTrue($attrs['emit-value'])">
|
||||
<span class="nowrap">
|
||||
<s
|
||||
class="nowrap"
|
||||
|
|
Loading…
Reference in New Issue