impaktapps-ui-builder 0.0.97 → 0.0.99
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.
|
@@ -9271,7 +9271,7 @@ function executeCustomHandler(params) {
|
|
|
9271
9271
|
}
|
|
9272
9272
|
}
|
|
9273
9273
|
function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
|
|
9274
|
-
if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9274
|
+
if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data) && !_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9275
9275
|
store2.setSchema((pre) => {
|
|
9276
9276
|
var _a;
|
|
9277
9277
|
return {
|
|
@@ -9285,7 +9285,7 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
|
|
|
9285
9285
|
}
|
|
9286
9286
|
};
|
|
9287
9287
|
});
|
|
9288
|
-
} else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9288
|
+
} else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data) && !_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9289
9289
|
store2.setSchema((pre) => {
|
|
9290
9290
|
var _a;
|
|
9291
9291
|
return {
|