From d574952a66fa9bf40fb03df937d8bed84e89b899 Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Wed, 28 Aug 2024 23:59:49 +0200 Subject: [PATCH] Dataviews filter: move resetValueOnSelect prop to combobox item (#64852) Co-authored-by: ciampo Co-authored-by: tyxla --- .../src/components/dataviews-filters/search-widget.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dataviews/src/components/dataviews-filters/search-widget.tsx b/packages/dataviews/src/components/dataviews-filters/search-widget.tsx index ca24de59b1ea73..1b369222b8f28c 100644 --- a/packages/dataviews/src/components/dataviews-filters/search-widget.tsx +++ b/packages/dataviews/src/components/dataviews-filters/search-widget.tsx @@ -206,7 +206,6 @@ function ComboboxList( { view, filter, onChangeView }: SearchWidgetProps ) { }, [ filter.elements, deferredSearchValue ] ); return ( { const newFilters = currentFilter @@ -266,6 +265,7 @@ function ComboboxList( { view, filter, onChangeView }: SearchWidgetProps ) { { matches.map( ( element ) => { return (