Angular

Last Updated: 8/28/2023

Disabling submit button

  • Disable the submit button and enable only when the form is valid
<button [disabled]="!f.valid">Save</button>