~/talk

Vue.js: Forms & validations in the composition age

Talkat HolyJS Piter 2020 · 2020-06-22..06-26· [vue]
slides:none on file

A complete rewrite of Vuelidate targets Vue.js 3 and the Composition API, delivering half the code and quarter the complexity and a minified core around two kilobytes. It adds lazy validations, nested validation aggregation via provide/inject, better async support, and built‑in messages with a shakeable validators package. A schema form generator (Formulate) and a plugin that wires Vuelidate into form fields get demoed; live coding falters but the nested validations, touch/dirty behavior and plugin integration ultimately work.

AI-written summary · about

  1. 0:00Start
  2. 2:19The Template Driven Validation Framework
  3. 8:09The Composition Api Setup
  4. 11:10The Lazy Validation
  5. 12:15The Template
  6. 14:34Nested Validations
  7. 15:05Nested Validation Wrapper
  8. 19:45Custom Validator
  9. 20:59Explanation for the Nested Validations
  10. 22:39Built in Error Messages Support
  11. 24:53Backwards Compatibility
  12. 27:01Schema Based Form Generator
  13. 29:50Demo
  14. 32:39Email Template
  15. 35:46Form Validations
  16. 37:38Schema Form Factory
  17. 51:54Use with Errors Plugin
  18. 59:20Lookup Plugin
  19. 1:00:00Roadmap
  20. 1:02:20How Would You Build a Plugin for View Three
~/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.