Bugfixes
- fix issue that caused control state value to not be properly set to form element if the ID of the control state changed but the state's value was the same as the last value the view reported for the previous state
- changed form control state directive to run its initialization code inside the
ngAfterViewInit
hook instead ofngOnInit
to allow proper interaction with form elements that can have dynamically rendered children they depend on (e.g. dynamicoption
s forselect
s) (thanks @nathanmarks for finding this issue)