Reactive Forms
Forms whose structure and rules are defined in TypeScript code.
What is Reactive Forms?
Reactive forms build the form model in TypeScript, then connect it to the template. They make validation, testing and dynamic fields easier than template-driven forms.
signup = new FormGroup({
email: new FormControl('', [Validators.required, Validators.email]),
password: new FormControl('', Validators.minLength(8)),
});
Level: Journeyman · More Angular terms at this level
Updated