Skip to content

fix(InputControl): omit undefined keys from mergeProps #913

Description

@johnleider

Surfaced by @paper/bulma in #760.

v0's mergeProps assigns even undefined keys, so a wrapper cannot force readonly (or any other control attr) over an ambient Input.Root. Inside an ambient root, BuInput / BuTextarea ignore v-model, type, disabled, readonly, required, name, form, id, and validation props — the root's control attrs win.

Documented as a known limitation in @paper/bulma SPEC.md. Emerald owns its own Root and does not hit this.

Expected

InputControl should omit falsy / undefined keys from the merge so a wrapper can set a control attr the ambient root left unset.

Activity

  1. added this to the v1.2.0 milestone on Aug 24, 2026
  2. self-assigned this
    on Aug 24, 2026
  3. modified the milestones: v1.2.0, v1.3.0 on Aug 26, 2026
  4. added a commit that references this issue on Aug 31, 2026
    c9575fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions