Fix Options item labels
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
William Buezas 2024-04-12 09:35:57 -03:00
parent 73703dc778
commit b4d92d4f97
1 changed files with 11 additions and 9 deletions

View File

@ -117,16 +117,18 @@ onBeforeMount(async () => {
hide-selected
>
<template #option="scope">
<QItem v-bind="scope.itemProps">
<QItemSection style="max-width: 20%">
<QItemLabel>
<QItem class="column" v-bind="scope.itemProps">
<QItemLabel class="row">
<span style="width: 3em">
{{ scope.opt?.code }}
</QItemLabel>
<QItemLabel caption>
{{ scope.opt?.category?.name }}
</QItemLabel>
</QItemSection>
<QItemSection>{{ scope.opt?.name }}</QItemSection>
</span>
<span>
{{ scope.opt?.name }}
</span>
</QItemLabel>
<QItemLabel v-if="scope.opt?.category" caption>
{{ scope.opt?.category?.name }}
</QItemLabel>
</QItem>
</template>
</VnSelectFilter>