@eqproject/eqp-dynamic-module 2.9.3 → 2.9.4

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.
@@ -5264,7 +5264,7 @@ class DbgetterComponent {
5264
5264
  this.QueryEditorComponent.inputParams.config.field = this.field;
5265
5265
  this.QueryEditorComponent.inputParams.config.record = this.record;
5266
5266
  this.QueryEditorComponent.inputParams.config.inConfig = this.inConfig;
5267
- if (this.field.DataGetter.DataGetterValue.openedFields.find(x => x.QueryPropertyValue == '?') != null) {
5267
+ if (this.field.DataGetter.DataGetterValue.openedFields.find(x => typeof x.QueryPropertyValue !== "object" && x.QueryPropertyValue == '?') != null) {
5268
5268
  // Il campo ha almeno un valore con "?"
5269
5269
  this.haveQuestions = true;
5270
5270
  //console.log("CHECKING BACKUPS OPENED FIELDS....", this.backupQuestionFields);
@@ -5275,7 +5275,7 @@ class DbgetterComponent {
5275
5275
  });
5276
5276
  }
5277
5277
  }
5278
- if (this.field.DataGetter.DataGetterValue.openedFields.find(x => x.QueryPropertyValue.indexOf('!') != -1) != null) {
5278
+ if (this.field.DataGetter.DataGetterValue.openedFields.find(x => typeof x.QueryPropertyValue !== "object" && x.QueryPropertyValue.indexOf('!') != -1) != null) {
5279
5279
  // Il campo ha almeno un valore con "!nomerelazione"
5280
5280
  this.haveRelations = true;
5281
5281
  this.field.DataGetter.DataGetterValue.openedFields.filter(x => x.QueryPropertyValue.indexOf('!') != -1).forEach((fieldWithRelation) => {