~/talk

Angular Form Validation

Talkat ng-conf 2017 · 2017-04-05..04-07· [angular]
slides:none on file

Shows concrete claim: reactive forms use sync validators first then async validators, and a custom minimum-bid async validator checks server-side latest bid and returns an error map. Demo uses the CLI, ReactiveFormsModule, Material for layout and AngularFire/firebase for a push-based stream; validator chains use an observable selector/let operator so validation order and pending behavior are replaceable. Live demo posts and receives real-time updates and the examples compile and run.

AI-written summary · about

  1. 0:00Start
  2. 1:38build your own custom validators
  3. 3:48set up basic validation
  4. 6:34create dibs for errors
  5. 8:26add an error
  6. 20:04connect us up to the firebase database
~/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.