~/talk

LT: Integrate Web Components with Forms Seamlessly

Talkat ElixirConf EU 2026 · 2026-04-23..04-24· [web-platform, frontend-architecture]
links:none on file
slides:none on file

Shows how to make custom elements participate in HTML forms by using the browser ElementInternals API to declare a form-associated component and call setFormValue (accepts strings or FormData) so the component’s data is included on submit. Demonstrates exposing a plain value property so Phoenix LiveView’s change validation can read the field without submission. Includes minimal code patterns and notes that this approach works reliably across submits and LiveView validations.

AI-written summary · about

~/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.