Custom Angular2 Form Components using FormBuilder
Chris Pawlukiewicz
41
Good read, thanks!
I think I found a typo: the “UsStatesComponent” that is being used in the solution
// creates an ngModel accessor to be used in components providers
const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR = {
provide: NG_VALUE_ACCESSOR,
useExisting: forwardRef(() => UsStatesComponent),
multi: true
};