Angular · Middle · Question 39 of 75

What does nonNullable: true change in typed reactive forms?

Explanation

By default a control's type is T | null because reset() sets it to null. NonNullableFormBuilder (inject(FormBuilder).nonNullable) applies this to every control.

Further reading

Problem with a question

Angular · Middle · question 39

Test yourself

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

Take this quiz