kwikid-forms 0.5.8 → 0.5.9
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.
|
@@ -5930,10 +5930,11 @@
|
|
|
5930
5930
|
return isAllFormsCompleted;
|
|
5931
5931
|
};
|
|
5932
5932
|
KwikIDFormsListComponent.prototype.handleOnClickSetActiveForm = function (selectedForm) {
|
|
5933
|
+
var _a, _b;
|
|
5933
5934
|
if (this.isMobileView ||
|
|
5934
5935
|
(!this.isMobileView && this.selectedForm !== selectedForm) ||
|
|
5935
5936
|
(this.isAllFormsCompleted && !this.showFormFields)) {
|
|
5936
|
-
if (this.activeFormConfig.properties.isUnsavedDataAlertEnabled &&
|
|
5937
|
+
if (((_b = (_a = this.activeFormConfig) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.isUnsavedDataAlertEnabled) &&
|
|
5937
5938
|
this.isUnsavedData &&
|
|
5938
5939
|
!window.confirm("You have unsaved data. Proceed?")) {
|
|
5939
5940
|
return;
|