Complex Forms Build Character
summary
A Dungeons & Dragons character form is built in Angular using reactive forms with FormBuilder, moving repeated groups into a FormArray with custom Ability class that contains four form controls so nested logic lives in the class. Live templates speed scaffolding. An autosave uses a publish/subscribe service implemented with RxJS BehaviorSubject to patch saved state across components, and the demo shows the autosave working as refactoring preserves behavior.
AI-written summary · about
chapters (8)
- 0:00Start
- 1:03The Abilities Form
- 1:44Race Modifier
- 5:28Ability Classes
- 10:14The Publish / Subscribe Pattern
- 14:24Publish / Subscribe Pattern
- 16:08Takeaways
- 17:13Github Repository
related talks
20mFormControl Freaks: Redux Edition
48mHandling Angular Forms Without Losing Your Sanity
46mAngular's Reactive Forms
35mLet's Build a Form Around It
31mEnterprise Grade Angular Reactive Forms
28mHandling Angular Forms Without Losing Your Sanity
29mUnleash the power of Angular Reactive Forms
29mAngular 2 Forms, the hero we need but not the one we deserve
