diff --git a/frontend/src/Editor/Components/DropdownV2/DropdownV2.jsx b/frontend/src/Editor/Components/DropdownV2/DropdownV2.jsx index 15a553d316..2cb082c1b7 100644 --- a/frontend/src/Editor/Components/DropdownV2/DropdownV2.jsx +++ b/frontend/src/Editor/Components/DropdownV2/DropdownV2.jsx @@ -486,12 +486,14 @@ export const DropdownV2 = ({ if (actionProps.action === 'clear') { setInputValue(null); fireEvent('onSelect'); + setSearchInputValue(''); } if (actionProps.action === 'select-option') { if (currentValue === selectedOption.value) { setInputValue(null); } else setInputValue(selectedOption.value); fireEvent('onSelect'); + setSearchInputValue(''); } setIsMenuOpen(false); setUserInteracted(true); diff --git a/frontend/src/Editor/Components/MultiselectV2/MultiselectV2.jsx b/frontend/src/Editor/Components/MultiselectV2/MultiselectV2.jsx index ad02125839..a29be93aba 100644 --- a/frontend/src/Editor/Components/MultiselectV2/MultiselectV2.jsx +++ b/frontend/src/Editor/Components/MultiselectV2/MultiselectV2.jsx @@ -162,6 +162,7 @@ export const MultiselectV2 = ({ fireEvent('onSelect'); setUserInteracted(true); + setSearchInputValue(''); }; useEffect(() => {