Posts

Showing posts from December, 2019

Angular 8 Reactive Form

Image
In angular we have two type of form and according to our requirement we can use them. In general: Reactive forms are more robust: they're more scalable, reusable, and testable. If forms are a key part of your application, or you're already using reactive patterns for building your application, use reactive forms. Template-driven forms are useful for adding a simple form to an app, such as an email list signup form. They're easy to add to an app, but they don't scale as well as reactive forms. If you have very basic form requirements and logic that can be managed solely in the template, use template-driven forms. For more info you can check out the angular doc here In this article we will learn how to use reactive form along with bootstrap. You can check out the more about reactive form here Prerequisites You need to have Node.js and npm installed on your system. You also need Angular CLI 8 installed otherwise, you can simply run the  npm instal