Merge pull request #191 in TEA/mina-sidor-fa-web from bugfix/TV-753 to develop
Squashed commit of the following: commit 30779fe3c1d6bbed16ea743b37f8ae6bf98113e9 Author: fueno <nicolas.fuentes-maturana@arbetsformedlingen.se> Date: Wed Oct 13 08:30:17 2021 +0200 TV-753 use digis change event attribute commit 26c26d807f5ee213b1b86cf908c3eced9c899d60 Author: fueno <nicolas.fuentes-maturana@arbetsformedlingen.se> Date: Mon Oct 11 15:32:49 2021 +0200 TV-753 reset other known reasons if reason changed
This commit is contained in:
@@ -49,6 +49,7 @@
|
|||||||
[afAnnounceIfOptional]="true"
|
[afAnnounceIfOptional]="true"
|
||||||
[afDisableValidStyle]="true"
|
[afDisableValidStyle]="true"
|
||||||
[afInvalid]="formControlIsInvalid(['reason'])"
|
[afInvalid]="formControlIsInvalid(['reason'])"
|
||||||
|
(afOnChange)="reasonChanged()"
|
||||||
></digi-ng-form-select>
|
></digi-ng-form-select>
|
||||||
<div aria-atomic="true" role="alert">
|
<div aria-atomic="true" role="alert">
|
||||||
<digi-ng-form-validation-message
|
<digi-ng-form-validation-message
|
||||||
|
|||||||
@@ -145,6 +145,10 @@ export class FranvaroReportFormComponent {
|
|||||||
this.confirmDialogOpen$.next(false);
|
this.confirmDialogOpen$.next(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
reasonChanged(): void {
|
||||||
|
this.otherKnownReasonFormControl.reset();
|
||||||
|
}
|
||||||
|
|
||||||
async submitAndCloseConfirmDialog(genomforandeReferens: number): Promise<void> {
|
async submitAndCloseConfirmDialog(genomforandeReferens: number): Promise<void> {
|
||||||
this.submitLoading$.next(true);
|
this.submitLoading$.next(true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user