tuain-ng-forms-lib 0.12.7 → 0.12.8

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.
@@ -2534,16 +2534,15 @@ class BasicFormComponent {
2534
2534
  if (!this.name) {
2535
2535
  return;
2536
2536
  }
2537
- if (!this.definitionObtained) {
2538
- this.inServerProcess = true;
2539
- const formDefinition = yield this.formManagerService.getFormDefinition(this.name);
2540
- this.inServerProcess = false;
2541
- this.formStructure = new FormStructureAndData(formDefinition);
2542
- this.definitionObtained = true;
2543
- }
2544
- else {
2545
- this.cleanData();
2546
- }
2537
+ // if (!this.definitionObtained) {
2538
+ this.inServerProcess = true;
2539
+ const formDefinition = yield this.formManagerService.getFormDefinition(this.name);
2540
+ this.inServerProcess = false;
2541
+ this.formStructure = new FormStructureAndData(formDefinition);
2542
+ this.definitionObtained = true;
2543
+ // } else {
2544
+ this.cleanData();
2545
+ // }
2547
2546
  if (!this.supportState(initialState)) {
2548
2547
  initialState = this.formStructure.defaultState;
2549
2548
  }