@eqproject/eqp-dynamic-module 2.10.85 → 2.10.87

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.
@@ -48,6 +48,7 @@ export declare class AddFormRecordComponent implements OnInit {
48
48
  loader: boolean;
49
49
  isSaving: boolean;
50
50
  formloaded: boolean;
51
+ private _recordChanging;
51
52
  formForm: UntypedFormGroup;
52
53
  fieldGroups: {
53
54
  [key: string]: Array<BaseField>;
@@ -63,6 +64,8 @@ export declare class AddFormRecordComponent implements OnInit {
63
64
  /**
64
65
  * Metodo invocato al cambio del valore di ogni proprietà dell'oggetto record.
65
66
  * Serve ad aggiornare il valore di tutti i campi che hanno una formula.
67
+ * Il guard _recordChanging previene la rientranza: i campi formula aggiornano
68
+ * record[name] e ciò riemette recordChange; senza guard si genera un loop infinito.
66
69
  */
67
70
  onRecordChange(): void;
68
71
  previewOrNewResponseRecord(): void;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": {
5
5
  "name": "EqProject"
6
6
  },
7
- "version": "2.10.85",
7
+ "version": "2.10.87",
8
8
  "peerDependencies": {
9
9
  "@angular-material-components/datetime-picker": "^15.0.0",
10
10
  "@angular-material-components/moment-adapter": "^15.0.0",