From 3219e869eb0da2b239253f7552376b34670d3ee2 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Tue, 13 Jun 2023 15:04:47 +0200 Subject: [PATCH] Reset la selection lorsque la recherche change dans le composant de recherche APE --- .../pages/assistants/recherche-code-ape/SearchCodeAPE.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/site/source/pages/assistants/recherche-code-ape/SearchCodeAPE.tsx b/site/source/pages/assistants/recherche-code-ape/SearchCodeAPE.tsx index 7bb0da377..8831ea52d 100644 --- a/site/source/pages/assistants/recherche-code-ape/SearchCodeAPE.tsx +++ b/site/source/pages/assistants/recherche-code-ape/SearchCodeAPE.tsx @@ -220,7 +220,10 @@ export default function SearchCodeAPE({ <> { + setSearchQuery(v) + setSelected('') + }} label={t("Mots-clés définissants l'activité")} placeholder={t('Par exemple : coiffure, boulangerie ou restauration')} />