Forms Flashcards

1
Q

What are the common foundation classes of template-driven and reactive design?

A

FormControl…
tracks the value and validation status of an individual form control.

FormGroup…
tracks the same values and status for a collection of form controls.

FormArray…
tracks the same values and status for an array of form controls.

ControlValueAccessor…
creates a bridge between Angular FormControl instances and native DOM elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What design patterns exist for forms?

A

Reactive Forms

Template-driven Forms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly