Form Validation Done Right
summary
Asserts that validation belongs on the domain model not the UI and demonstrates a model-driven validation approach that runs on client and server, reuses rules across Reactive and Template Driven forms, and replaces hundreds of per-field directives (he cites ~100 custom validations) with a suite-based engine. Shows using the open-source Vest library, a validator directive + async validator pair, a set of input widgets, and claims two validators only for full integration — used in production for three years and working.
AI-written summary · about
chapters (7)
- 0:00Start
- 3:21ANGULAR VALIDATOR
- 11:53VEST VALIDATION RULE
- 12:48VEST SUITE
- 15:17VEST VALIDATOR FUNCTION
- 18:08VALIDATION SCOPING DIRECTIVE
- 20:34GET THE GOODS
related talks
34mDesigning form validation the right way
20mUp your form validation game with Vest
38mFull Stack Form Validation with React Server Actions
41mStreamlined composable forms with vee-validate
47mMake form validation fun again
25mRe-Form the future. Rethinking Form Validations in React
25mForm of Art: Validation in Angular Forms
28mGetting extremely productive with Angular forms
