~/talk

Unleash the Power of Angular Reactive Form

Talkat AngularUP 2017 · on Sunday, 2017-06-25· [angular, frontend-architecture]
slides:none on file

Live coding shows how to build Angular reactive forms end to end using Angular CLI, WebStorm and Bootstrap: create FormControl/FormGroup with FormBuilder and FormGroup, add sync validators and an async validator (4s timeout) calling a fake DB, register a custom validator via NG_VALIDATORS with forwardRef, and encapsulate a button-group as a form element by implementing ControlValueAccessor custom size component. All examples compile and run live, validators toggle valid/pending states, reset and submit produce JSON, and the custom control integrates with form state.

AI-written summary · about

  1. 0:00Introduction
  2. 5:00Demo
  3. 8:00Creating a Form
  4. 14:00Validation
  5. 16:30Custom Validation
  6. 19:50Sync Validation
  7. 21:50Validation in Process
  8. 26:42Validation Error
  9. 29:07Code
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.