Skip to content

pipeline gap: <select> elements never get bind/form-field auto-injection #112

Closed

Description

@pinetops

Patterns 1 (form-field shorthand) and 2 (state binding via value={@field}) only match <input>. Selects always need a hand-written bind:

  • demo/lib/demo_web/live/storefront/address_edit_modal.ex:131 — data-lavash-bind="address_form_params.state" on the state <select>
  • demo/lib/demo_web/live/storefront/products_live.ex:194 — data-lavash-bind="sort" on the sort <select>

Proposal: extend both patterns to <select> (and <textarea>), keying off field={...} shorthand or an optimistic-field match on the element's name/selected option.

Activity

  1. added a commit that references this issue on Aug 21, 2026
    924aaef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions