Merge pull request 'fix: add unremovableParams to VnFilterPanel for better filtering control' (!1705) from fix_ticketList_fromTo_unremovable into master
gitea/salix-front/pipeline/head This commit looks good Details

Reviewed-on: #1705
Reviewed-by: Guillermo Bonet <guillermo@verdnatura.es>
This commit is contained in:
Alex Moreno 2025-04-14 13:16:11 +00:00
commit be7c63150c
1 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,11 @@ const groupedStates = ref([]);
auto-load auto-load
/> />
<FetchData url="Warehouses" @on-fetch="(data) => (warehouses = data)" auto-load /> <FetchData url="Warehouses" @on-fetch="(data) => (warehouses = data)" auto-load />
<VnFilterPanel :data-key="props.dataKey" :search-button="true"> <VnFilterPanel
:data-key="props.dataKey"
:search-button="true"
:unremovableParams="['from', 'to']"
>
<template #tags="{ tag, formatFn }"> <template #tags="{ tag, formatFn }">
<div class="q-gutter-x-xs"> <div class="q-gutter-x-xs">
<strong>{{ t(`params.${tag.label}`) }}: </strong> <strong>{{ t(`params.${tag.label}`) }}: </strong>