~/lightning

Lightning Talks - Angular2+ Reactive Forms

Lightningat NDC Minnesota 2018 · 2018-05-07..05-10· [angular]
links:none on file
slides:none on file

Explains how Angular ReactiveFormsModule and RxJS let forms be built in TypeScript with a FormBuilder producing FormBuilder/FormGroup/FormArray structures so controls are synchronous and testable; shows built example order form (Angular 5 + Angular Material) for selling sheet music with dynamic product arrays, group-level validation for date ranges, and validators (sync and async) including pattern and server-side uniqueness checks; claims the example is coded in under 10 minutes, demonstrates required-field behavior and that the form works as expected.

AI-written summary · about

  1. 0:00REACTIVE FORMS: A
  2. 0:57WHAT IS A REACTIVE FORM?
  3. 1:22USES FORMSMODULE
  4. 1:46HTML COMES FIRST
  5. 2:24BOUND TO A MODEL
  6. 2:39ASYNCHRONOUS
  7. 4:28USES EVENTS
  8. 5:34USES REACTIVEFORMSMODULE
  9. 6:22MODEL COMES FIRST
  10. 8:04BOUND TO FORM CONTROLS
  11. 9:55USES RXUS
  12. 11:22RX FORMS BUILDING BLOCKS
  13. 12:43WHY SHOULD I CARE?
  14. 14:13VALIDATION
  15. 15:38SAMPLE FORM CONTROL TREE
~/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.