Merge branch 'dev' into 7196-updateVite
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Javier Segarra 2025-01-22 08:58:28 +00:00
commit 8dc277ec2a
3 changed files with 5 additions and 2 deletions

View File

@ -70,6 +70,9 @@ const handleModelValue = (data) => {
<VnSelectDialog <VnSelectDialog
v-model="modelValue" v-model="modelValue"
option-filter-value="search" option-filter-value="search"
:option-label="
(opt) => (typeof modelValue === 'string' ? modelValue : showLabel(opt))
"
url="Postcodes/filter" url="Postcodes/filter"
@update:model-value="handleModelValue" @update:model-value="handleModelValue"
:use-like="false" :use-like="false"

View File

@ -27,7 +27,7 @@ const $props = defineProps({
default: () => [], default: () => [],
}, },
optionLabel: { optionLabel: {
type: [String], type: [String, Function],
default: 'name', default: 'name',
}, },
optionValue: { optionValue: {

View File

@ -196,7 +196,7 @@ async function autofillBic(worker) {
prefix="workerSearch" prefix="workerSearch"
:array-data-props="{ :array-data-props="{
url: 'Workers/filter', url: 'Workers/filter',
order: ['id DESC'], order: 'id DESC',
}" }"
> >
<template #rightMenu> <template #rightMenu>