kwikid-forms 0.3.20 → 0.3.21

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.
@@ -5097,9 +5097,11 @@ class KwikIDFormViewComponent {
5097
5097
  }
5098
5098
  setLoaderType() {
5099
5099
  this.loaderType = "CENTER_SCREEN";
5100
- if (checkObjectKeyExists(this.userConfig, "utilityFlags")) {
5101
- if (checkObjectKeyExists(this.userConfig.utilityFlags, "loaderType")) {
5102
- this.loaderType = this.userConfig.utilityFlags.loaderType;
5100
+ if (this.userConfig !== undefined) {
5101
+ if (checkObjectKeyExists(this.userConfig, "utilityFlags")) {
5102
+ if (checkObjectKeyExists(this.userConfig.utilityFlags, "loaderType")) {
5103
+ this.loaderType = this.userConfig.utilityFlags.loaderType;
5104
+ }
5103
5105
  }
5104
5106
  }
5105
5107
  if (this.loaderType !== "FULL_SCREEN" &&