Angular · Junior · Question 69 of 75
What does [disabled]="form.invalid" on a submit button do?
- ✓Correct answer: Binds the button's
disabledproperty to the form's validity - 2Disables the form permanently
- 3Validates the form on click
Explanation
Property binding keeps the DOM in sync with component state. Showing why the form is invalid is still important for usability.