Skip to content

Commit

Permalink
force recomp display/hidden forms ref #1267
Browse files Browse the repository at this point in the history
  • Loading branch information
joelclems committed Feb 10, 2021
1 parent d7e9648 commit 7a12676
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,7 @@ export class GenericFormGeneratorComponent implements OnInit {
return form.attribut_name !== formDef.attribut_name;
});
this._dynformService.addNewControl(formDef, this.myFormGroup);
// pour être sûr que les composants (displayed et hidden) soient bien mis à jour)
this.setForms();
}
}

0 comments on commit 7a12676

Please sign in to comment.