Recursive Forms, CVAs & Components
summary
Builds a combined date+time component by implementing a Control Value Accessor and wiring a material date picker plus custom time selector into Angular reactive forms. Solves missing propagation by adding a local formGroup nesting so onChange is registered, listens to keyup and the date picker’s dateChange plus the ng-model change event to emit live Date objects, and shows it working end to end while warning that deeply nested CVAs confuse collaborators and recommends flattening when possible.
AI-written summary · about
chapters (4)
related talks
06mDynamic Angular 2 Forms
32mA New Model for Form Components
19mSimplifying deep angular forms with di equipped custom components
56mHow to mess up your Angular UI Components
25mAngular Material CDK, Datatables and more
21mBuild an Angular Material App
28mFrom Scratch to Screen: The Art of Component Design in Angular
49mBuilding Better Components - A Journey to a More Resilient Frontend
