impaktapps-ui-builder 1.0.163 → 1.0.165
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/dist/impaktapps-ui-builder.es.js +6 -3
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/services/utils.ts +5 -3
|
@@ -8076,6 +8076,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8076
8076
|
getInputField("errorMessage", "Error Message"),
|
|
8077
8077
|
getInputField("toolTip", "Tooltip"),
|
|
8078
8078
|
getSelectField("toolTipPosition", "Tooltip Position"),
|
|
8079
|
+
emptyBox$1("RadioEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 }),
|
|
8079
8080
|
getArrayControl("sectionLabels", "label", "Options Of Radio")
|
|
8080
8081
|
];
|
|
8081
8082
|
break;
|
|
@@ -8569,11 +8570,13 @@ async function saveHandler(store2, service2, submitHandler) {
|
|
|
8569
8570
|
const saveReturn = await submitHandler(store2, service2, config2);
|
|
8570
8571
|
navigateHandler(store2, true, "/PageMasterRecords");
|
|
8571
8572
|
} catch (err) {
|
|
8572
|
-
navigateHandler(store2, false);
|
|
8573
|
+
navigateHandler(store2, false, void 0, err.message);
|
|
8573
8574
|
}
|
|
8575
|
+
} else {
|
|
8576
|
+
navigateHandler(store2, false);
|
|
8574
8577
|
}
|
|
8575
8578
|
}
|
|
8576
|
-
const navigateHandler = (store2, isSubmitted, pageName) => {
|
|
8579
|
+
const navigateHandler = (store2, isSubmitted, pageName, errorMessage) => {
|
|
8577
8580
|
if (isSubmitted) {
|
|
8578
8581
|
sessionStorage.removeItem("pageFormdata");
|
|
8579
8582
|
store2.navigate(pageName || -1);
|
|
@@ -8585,7 +8588,7 @@ const navigateHandler = (store2, isSubmitted, pageName) => {
|
|
|
8585
8588
|
store2.setValidation("ValidateAndShow");
|
|
8586
8589
|
store2.setNotify({
|
|
8587
8590
|
Fail: true,
|
|
8588
|
-
FailMessage: "Errors on Page"
|
|
8591
|
+
FailMessage: errorMessage || "Errors on Page"
|
|
8589
8592
|
});
|
|
8590
8593
|
}
|
|
8591
8594
|
};
|