Angular6 form validation when one button is clicked, the other two buttons are changed to unclickable

problem description

now there are three buttons. When I click one, the disabled of the other two will become unavailable. The buttons are the following

<button nz-button nzType="primary" [disabled]="!validateForm.valid " (click)="getBtnType(1)">&</button>
<button nz-button nzType="primary" [disabled]="!validateForm.valid " (click)="getBtnType(2)">&</button>
<button nz-button (click)="resetForm($event)"></button>

I"m a little dizzy.

Sep.23,2021

A simple method: if a Http request is initiated during the save process and _ HttpClient is used, then

</button>
Menu