From 947f9837d532017f5dcb3f25826ea56d6bb2e93b Mon Sep 17 00:00:00 2001 From: sabrina-bongiovanni <116291154+sabrina-bongiovanni@users.noreply.github.com> Date: Wed, 27 Dec 2023 14:57:07 +0100 Subject: [PATCH] fix: allow submit when pressing enter key in search blocks (#451) --- .../ItaliaTheme/Blocks/BandiSearch/Body.jsx | 92 ++++++++++--------- .../ItaliaTheme/Blocks/EventSearch/Body.jsx | 92 ++++++++++--------- .../ItaliaTheme/Blocks/UOSearch/Body.jsx | 92 ++++++++++--------- 3 files changed, 147 insertions(+), 129 deletions(-) diff --git a/src/components/ItaliaTheme/Blocks/BandiSearch/Body.jsx b/src/components/ItaliaTheme/Blocks/BandiSearch/Body.jsx index d9b9573d2..b12cef130 100644 --- a/src/components/ItaliaTheme/Blocks/BandiSearch/Body.jsx +++ b/src/components/ItaliaTheme/Blocks/BandiSearch/Body.jsx @@ -149,54 +149,60 @@ const Body = ({ data, inEditMode, path, onChangeBlock }) => { 'public-ui': inEditMode, })} > -