@integry/sdk 4.6.71 → 4.6.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -366,8 +366,13 @@ class FunctionForm extends Component<
|
|
|
366
366
|
} else {
|
|
367
367
|
newState[parentFieldId][fieldId] = value;
|
|
368
368
|
}
|
|
369
|
+
} else if (
|
|
370
|
+
stopChangePropagation &&
|
|
371
|
+
dataType === 'array' &&
|
|
372
|
+
!Array.isArray(value)
|
|
373
|
+
) {
|
|
374
|
+
newState[fieldId] = JSON.stringify([value]);
|
|
369
375
|
} else {
|
|
370
|
-
// If parentFieldId is empty, add the fieldId and value directly
|
|
371
376
|
newState[fieldId] = value;
|
|
372
377
|
}
|
|
373
378
|
|
|
@@ -617,9 +622,8 @@ class FunctionForm extends Component<
|
|
|
617
622
|
? fieldDetails.meta.ui.ui_field.value_key_path || ''
|
|
618
623
|
: undefined,
|
|
619
624
|
isMultiSelect:
|
|
620
|
-
fieldDetails
|
|
621
|
-
|
|
622
|
-
: false,
|
|
625
|
+
fieldDetails?.meta?.ui?.ui_field?.is_multiselect || false,
|
|
626
|
+
|
|
623
627
|
idKeyPath:
|
|
624
628
|
fieldDetails.meta.ui.ui_field?.type === 'CUSTOM_FIELDS'
|
|
625
629
|
? fieldDetails.meta.ui.ui_field.id_key_path || ''
|