impaktapps-ui-builder 0.0.89 → 0.0.90
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.
|
@@ -9268,7 +9268,7 @@ function executeCustomHandler(params) {
|
|
|
9268
9268
|
}
|
|
9269
9269
|
}
|
|
9270
9270
|
function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
|
|
9271
|
-
if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9271
|
+
if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data) && !_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9272
9272
|
store2.setSchema((pre) => {
|
|
9273
9273
|
var _a;
|
|
9274
9274
|
return {
|
|
@@ -9282,7 +9282,7 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
|
|
|
9282
9282
|
}
|
|
9283
9283
|
};
|
|
9284
9284
|
});
|
|
9285
|
-
} else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9285
|
+
} else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data) && !_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9286
9286
|
store2.setSchema((pre) => {
|
|
9287
9287
|
var _a;
|
|
9288
9288
|
return {
|