diff --git a/src/app/components/param-field-line/param-field-line.component.html b/src/app/components/param-field-line/param-field-line.component.html index daad0ba4b73516eb51066cd77ed629066571ffe4..a9114f5f2974450548c16151f381f711af3adb29 100644 --- a/src/app/components/param-field-line/param-field-line.component.html +++ b/src/app/components/param-field-line/param-field-line.component.html @@ -12,13 +12,11 @@ </param-computed> <!-- composant pour gérer le cas "paramètre à varier" (min-max/liste de valeurs) --> - <param-values *ngIf="isRadioVarChecked" [title]="title" [param]="param" (change)="onInputChange($event)" - (valid)=onParamValuesValid($event)> + <param-values *ngIf="isRadioVarChecked" [title]="title" [param]="param" (change)="onInputChange($event)"> </param-values> <!-- composant pour gérer le cas "paramètre lié" --> - <param-link *ngIf="isRadioLinkChecked" [title]="title" [param]="param" (change)="onInputChange($event)" - (valid)=onParamValuesValid($event)> + <param-link *ngIf="isRadioLinkChecked" [title]="title" [param]="param" (change)="onInputChange($event)"> </param-link> </div> diff --git a/src/app/components/param-field-line/param-field-line.component.ts b/src/app/components/param-field-line/param-field-line.component.ts index 1cb5750c7f0e1f33fa6b52b29a0a932d30f5d641..64caf333aa9c55cceee374f0208faa81f9e06811 100644 --- a/src/app/components/param-field-line/param-field-line.component.ts +++ b/src/app/components/param-field-line/param-field-line.component.ts @@ -312,14 +312,6 @@ export class ParamFieldLineComponent implements OnChanges { } } - /** - * réception d'un événement de validité de ParamValuesComponent - */ - public onParamValuesValid(event: boolean) { - this._isRangeValid = event; - this.emitValidity(); - } - public ngOnChanges() { this._ngParamInputComponent.model = this.param; this._ngParamInputComponent.showError = this.isRadioFixChecked; diff --git a/src/app/components/param-link/param-link.component.ts b/src/app/components/param-link/param-link.component.ts index 89255ef13580199816bf9f40f4a85a5ce31ea0e9..2571d9ec7cd0fab288fc147345c7e5ced4352a59 100644 --- a/src/app/components/param-link/param-link.component.ts +++ b/src/app/components/param-link/param-link.component.ts @@ -22,9 +22,6 @@ export class ParamLinkComponent implements OnChanges, Observer, OnDestroy { @Input() public title: string; - @Output() - public valid: EventEmitter<boolean>; - /** * événement signalant un changement de valeur du modèle * @TODO l'utiliser aussi pour le changement de validité à @@ -83,7 +80,6 @@ export class ParamLinkComponent implements OnChanges, Observer, OnDestroy { private intlService: I18nService, private formService: FormulaireService ) { - this.valid = new EventEmitter(); this.formService.addObserver(this); }