6
Handling User Inputs: Forms
Since the early days of web applications, before the concept of Single Page Applications (SPAs), in HTML 2, the <form> tag has been used to create, organize, and send forms to the backend.
In common applications, such as banking systems and health applications, we use forms to organize the inputs that our users need to perform in our systems. With such a common element in web applications, it is natural that Angular, a framework whose philosophy is batteries included, offers this feature to its developers.
In this chapter, we will delve into the following forms features in Angular:
- Template-driven forms
- Reactive forms
- Data validation
- Custom validations
- Typed reactive forms
By the end of this chapter, you will ...
Get Angular Design Patterns and Best Practices now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.