Programming Phoenix LiveView: B5.0 - email_input (page 124)

Use Schemaless Changesets in LiveView - The Promo Live View

forms/pento/pento_web/live/promo_live.html.leex

(B5) <%= text_input f, :email %>
(Suggestion) <%= email_input f, :email %>
https://hexdocs.pm/phoenix_html/Phoenix.HTML.Form.html#email_input/3