mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
bugfix (#2411)
This commit is contained in:
parent
42058bd088
commit
50a57d13fd
1 changed files with 2 additions and 2 deletions
|
|
@ -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'));
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue