Angular · Junior · Question 69 of 75

What does [disabled]="form.invalid" on a submit button do?

Explanation

Property binding keeps the DOM in sync with component state. Showing why the form is invalid is still important for usability.

Further reading

Problem with a question

Angular · Junior · question 69

Test yourself

Take the Angular · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz