Skip to content
Snippets Groups Projects
Commit a4509720 authored by mathias.chouet's avatar mathias.chouet
Browse files

FormPrebarrage: simplify results reset

parent e7971aed
No related branches found
No related tags found
1 merge request!96WIP: Resolve "Simplifier les composants de résultats"
......@@ -246,14 +246,17 @@ export class FormulairePrebarrage extends FormulaireFixedVar {
* réinitialisation du formulaire suite à un changement d'une valeur, d'une option, ... :
* effacement des résultats, application des dépendances, ...
*/
public reset() {
/* public reset() {
this.resetResults();
} */
public resetFormResults() {
this._fixedResults.reset();
this._pbResults.reset();
}
public resetResults() {
super.resetResults();
this._fixedResults.reset();
this._pbResults.reset();
// reset all children nubs
for (const c of this.currentNub.getChildren()) {
c.resetResult();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment