diff --git a/frontend/src/Editor/Components/Multiselect.jsx b/frontend/src/Editor/Components/Multiselect.jsx index e439b5c16e..74a466d9ad 100644 --- a/frontend/src/Editor/Components/Multiselect.jsx +++ b/frontend/src/Editor/Components/Multiselect.jsx @@ -51,7 +51,7 @@ export const Multiselect = function Multiselect({ setCurrentValue(properties.value); } // eslint-disable-next-line react-hooks/exhaustive-deps - }, [value]); + }, []); useEffect(() => { selectRef.current.querySelector('.select-search__input').style.borderRadius = `${Number.parseFloat( @@ -61,7 +61,7 @@ export const Multiselect = function Multiselect({ }, [borderRadius, selectRef.current]); const handleChange = (value) => { - setCurrentValue(value); + // setCurrentValue(value); setExposedVariable('values', value).then(() => fireEvent('onSelect')); };