From 40b8f26cc0956ace0fc32b18dfdb5fb0e6e035d4 Mon Sep 17 00:00:00 2001 From: Marco Pedone Date: Tue, 11 Nov 2025 16:14:45 +0100 Subject: [PATCH] feat: update default values for SelectFilter components in RicercaFilters; improve reset handling --- apps/infoalloggi/src/pages/annunci.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/infoalloggi/src/pages/annunci.tsx b/apps/infoalloggi/src/pages/annunci.tsx index e8a4db7..319f621 100644 --- a/apps/infoalloggi/src/pages/annunci.tsx +++ b/apps/infoalloggi/src/pages/annunci.tsx @@ -186,7 +186,7 @@ const RicercaFilters = () => { className="flex w-60 max-w-3xl flex-col gap-2 p-4" > { await setTipo(""); }} @@ -199,7 +199,7 @@ const RicercaFilters = () => { value={tipo} /> { await setComune(null); }} @@ -212,9 +212,7 @@ const RicercaFilters = () => { value={comune} /> { await setConsegna(null); }} @@ -445,6 +443,7 @@ export const SelectFilter = ({ placeholder, handleReset, }: SelectFilterProps) => { + console.log("SelectFilter Rendered:", { label, value, defaultValue }); return (