@eqproject/eqp-dynamic-module 2.8.30 → 2.8.31

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.
@@ -6240,15 +6240,17 @@ class AddFormRecordComponent {
6240
6240
  baseField.AnswerStyle.InListView = (visibility == true) ? true : false;
6241
6241
  }
6242
6242
  if (baseField.AnswerStyle.InListView) {
6243
- template += '<div class="' + this.utilityService.getFieldAnswerStyleClass(baseField) + ' d-flex flex-column dynaform-answer-field"> ' +
6243
+ template += '<div class="' + this.utilityService.getFieldAnswerStyleClass(baseField) + ' d-flex flex-row dynaform-answer-field"> ' +
6244
6244
  ' <span class="dynaform-question" style="' + baseField.AnswerStyle.LabelstyleCSS + '">' + baseField.Description + ':</span>' +
6245
6245
  ' <span class="dynaform-response" style="' + baseField.AnswerStyle.FieldstyleCSS + '"> ##' + baseField.Name + '##</span>' +
6246
6246
  '</div> \n ';
6247
6247
  }
6248
6248
  else if (!baseField.AnswerStyle.InListView && baseField.AnswerStyle.Invisibility == FieldInvisibilityEnum['NASCOSTO CON AREA VISIBILE']) {
6249
- template += '<div class="' + this.utilityService.getFieldAnswerStyleClass(baseField) + ' d-flex flex-column dynaform-answer-field"> ' +
6249
+ template += '<div class="' + this.utilityService.getFieldAnswerStyleClass(baseField) + ' d-flex flex-row dynaform-answer-field"> ' +
6250
6250
  '</div> \n ';
6251
6251
  }
6252
+ // Lo vuole uno sotto l'altro sennò "E' storto!", quindi va così
6253
+ template = template.replace("-11 ", "-12 ").replace("-10 ", "-12 ").replace("-9 ", "-12 ").replace("-8 ", "-12 ").replace("-7 ", "-12 ").replace("-6 ", "-12 ").replace("-5 ", "-12 ").replace("-4 ", "-12 ").replace("-3 ", "-12 ").replace("-2 ", "-12 ").replace("-1 ", "-12 ");
6252
6254
  GlobalService.debugLog('getResposneTemplate - post - field', baseField);
6253
6255
  });
6254
6256
  // (attualmente non esiste il concetto di tempate di output)