Skip to content

Talk

Signal Forms: Details & Live Coding

enterJS 2026by Manfred Steyer

Slides of the talk (35)

  1. Slide 1 of 35: Signal Forms: Details & Live Coding
  2. Slide 2 of 35
  3. Slide 3 of 35: 1) Signal Forms 101
  4. Slide 4 of 35: About Me
  5. Slide 5 of 35: Signal Forms 101
  6. Slide 6 of 35: Setting up a Signal Form
  7. Slide 7 of 35: Setting up a Signal Form
  8. Slide 8 of 35: Setting up a Signal Form
  9. Slide 9 of 35: FieldTree
  10. Slide 10 of 35: FieldTree
  11. Slide 11 of 35: FormField
  12. Slide 12 of 35: Schema
  13. Slide 13 of 35: Schema
  14. Slide 14 of 35: DEMO
  15. Slide 15 of 35: Splitting Large Forms
  16. Slide 16 of 35
  17. Slide 17 of 35: DEMO
  18. Slide 18 of 35: Conditional Validation
  19. Slide 19 of 35: Validation for Delayed Flights
  20. Slide 20 of 35: DEMO
  21. Slide 21 of 35: Metadata
  22. Slide 22 of 35: Tell the User Upfront!
  23. Slide 23 of 35: DEMO
  24. Slide 24 of 35: Null & Undefined
  25. Slide 25 of 35: Undefined: Does not Exist!
  26. Slide 26 of 35: Domain Model vs. Form Model
  27. Slide 27 of 35: Custom Controls
  28. Slide 28 of 35: DelayStepper
  29. Slide 29 of 35: DEMO
  30. Slide 30 of 35: Interop
  31. Slide 31 of 35: Stepwise Migrations
  32. Slide 32 of 35: DEMO
  33. Slide 33 of 35: Architecture, Concepts, Implementation
  34. Slide 34 of 35: • Splitting Large Forms
  35. Slide 35 of 35: [Social Media] Manfred Steyer
Slide text (all slides)
  1. Signal Forms: Details & Live Coding ANGULARarchitects.io
  2. –
  3. 1) Signal Forms 101 2) Splitting Large Forms 3) Conditional Validation 4) Using Metadata 5) Null & Undefined 6) Custom Controls 7) Interop with Reactive Forms Agenda
  4. About Me (Remote) Angular Workshops and Consulting Google Developer Expert for Angular Blog, Books, Articles, and Talks about Angular Manfred Steyer, ANGULARarchitects.io
  5. Signal Forms 101
  6. Setting up a Signal Form protected readonly flight = signal({ id: 123, from: 'Graz', to: 'Rome', aircraft: { type: 'T0815', registration: 'R4711' }, […] });
  7. Setting up a Signal Form protected readonly flight = signal({ id: 123, from: 'Graz', to: 'Rome', aircraft: { type: 'T0815', registration: 'R4711' }, […] }); protected readonly flightForm = form(this.flight);
  8. Setting up a Signal Form protected readonly flight = signal({ id: 123, from: 'Graz', to: 'Rome', aircraft: { type: 'T0815', registration: 'R4711' }, […] }); protected readonly flightForm = form(this.flight); // ^^^ FieldTree
  9. FieldTree const valid = this.flightForm.from().valid(); const errors = this.flightForm.from().errors(); const value = this.flightForm.from().value();
  10. FieldTree const valid = this.flightForm.from().valid(); const errors = this.flightForm.from().errors(); const value = this.flightForm.from().value(); const regValid = this.flightForm.aircraft.registration().valid(); const regErrors = this.flightForm.aircraft.registration().errors(); const regValue = this.flightForm.aircraft.registration().value();
  11. FormField
  12. Schema protected readonly flightForm = form(this.flight);
  13. Schema protected readonly flightForm = form(this.flight, (path) => { required(path.from); minLength(path.from, 3); });
  14. DEMO
  15. Splitting Large Forms
  16. –
  17. DEMO
  18. Conditional Validation
  19. Validation for Delayed Flights
  20. DEMO
  21. Metadata
  22. Tell the User Upfront!
  23. DEMO
  24. Null & Undefined
  25. Undefined: Does not Exist! export interface Flight { id: number; from: string; to: string; […] delay?: number; }
  26. Domain Model vs. Form Model export interface FlightFormModel { id: number; from: string; to: string; […] // Not optional delay: number } export interface FlightDomainModel { id: number; from: string; to: string; […] // Optional delay?: number }
  27. Custom Controls
  28. DelayStepper
  29. DEMO
  30. Interop
  31. Stepwise Migrations Reactive Form Signal Form
  32. DEMO
  33. Architecture, Concepts, Implementation Modern Angular 440 pages, PDF, EPUB Regular Free Updates! angular-book.com
  34. • Splitting Large Forms • Conditional Validation • Metadata • Null and Undefined • Custom Controls • Interop with Reactive Forms Conclusion
  35. [Social Media] Manfred Steyer [web] ANGULARarchitects.io Manfred Steyer @ Manfred Steyer Slides & Examples Remote Company Workshops and Consulting http://angulararchitects.io

Book tip

Modern Angular

Architecture, Concepts, Implementation: practical guidance for modern Angular – Signals, Signal Forms, the NgRx Signal Store, AI and architecture.

More about the book: Modern Angular (opens in a new window)