Answers for "disable button angular typescript"

2

button disabled angular

<form #f="ngForm" (ngSubmit)="onSubmit(f)" novalidate>
  <input required name="uri" [(ngModel)]="data">
  <button [disabled]="!f.valid">Submut</button>
</form>
Posted by: Guest on February-26-2021
0

disable button typescript

(document.getElementById('button') as HTMLInputElement).disabled = false;
Posted by: Guest on August-12-2020

Code answers related to "disable button angular typescript"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language