^6.0.0
When we build forms, we know there’s a good chance that the data we want to collect may change. Dynamic Forms in Angular give us the ability to define the underlying object model before binding the form to the template. This lets our forms programmatically adjust to the underlying model so we don’t have to update each form manually as our data will eventually change.
In this course Google Developer Expert-led we will use Angular’s Reactive Forms and learn about the basics for dynamically rendering FormControls
. We will also explore how more advanced input controls such as select boxes and radio button lists can be dynamically bound to our template.
If you’re coming from AngularJS (v1.x) you may also be familiar with dynamic forms in the context of Formly
, a library for automating dynamic forms. We will also quickly touch on ng-formly
, which is the Angular (2+) equivalent.
It's quick and covers lots of needed concepts to work with forms in Angular.
I needed this information so I could implement something similar at work
There may be a time when I want to do something like this but it doesn't seem to save much work over declaring a new form for each use case and it introduces a lot of room for type mismatches and errors.
Simple explained. Its just what i need to do at work!
I expected 'industry expert' teaching more advanced topics. First of all, the way the code is made is really not SOLID and too complex (so many if/else and no use of typescript interfaces. Also it misses on topics like: recursion and other interesting stuff. Pretty basic, stuff that you can read on angular.io yourself
I love minimalistic lessons like this. Thanks for giving valuable information in a simple way.