Angular Reactive Forms
You can build forms in Angular almost completely in your componenet's class by using Angular's reactive forms model. This course will teach you how to build reactive forms, create dynamic forms, validate forms data, and save that data to an API.
What you'll learn
Angular has two forms models to choose from: template-driven forms and reactive forms. In this course, Angular Reactive Forms, you'll learn not just the fundamentals of working with reactive forms, but also advanced topics for working with complex and dynamic forms. First, you’ll explore the Angular architecture that powers reactive forms. Next, you’ll discover how to build a form model in your component class and bind that to your component's HTML template and validate user-entered data. Finally, you'll learn how to create dynamic forms and custom controls. When you’re finished with this course, you’ll have the skills and knowledge of Angular reactive forms needed to build both simple and complex forms to gather data from the user.
Table of contents
- Introduction 1m
- Adding Reactive Forms to a Project 2m
- Creating Form Controls 6m
- The Magic of the ControlValueAccessor Directive 3m
- Providing Values to FormControls 6m
- Creating FormGroups 5m
- Submitting a Reactive Form 3m
- Saving Submitted Form Data 6m
- Adding Unbound FormControls to a FormGroup 4m
- Creating Nested FormGroups 8m
- Simplifying with FormBuilder and FormGroup.setValue() 7m
- Summary 1m