» Posts by Christopher Bond

Angular 2, NgModel and Custom Form Components

Written by Christopher Bond

I’ve heard a lot of people express frustration with building forms in Angular 2. I think in large part this derives from bad experiences with FormBuilder, FormGroup and FormControl. This blog post explores a new way of building complex forms in Angular 2, using ngModel, the ControlValueAccessor contract, and some clever validation code. Suppositions You are building complex forms that have custom validators, styling,...

Read More »