mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
MultiselectV2 & Dropdown options not saving fix (#2493)
This commit is contained in:
parent
b93e843a5e
commit
4668b02fa5
1 changed files with 4 additions and 1 deletions
|
|
@ -36,7 +36,10 @@ export const buildComponentMetaDefinition = (components = {}) => {
|
|||
componentMeta.definition.properties,
|
||||
currentComponentData?.component?.definition?.properties,
|
||||
(objValue, srcValue) => {
|
||||
if (currentComponentData?.component?.component === 'Table' && isArray(objValue)) {
|
||||
if (
|
||||
['Table', 'DropdownV2', 'MultiselectV2'].includes(currentComponentData?.component?.component) &&
|
||||
isArray(objValue)
|
||||
) {
|
||||
return srcValue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue