Skip to content

Combobox input event only fires on dropdown selection change #2041

@josh-pons

Description

@josh-pons

Describe the bug

The combobox input event does not fire when a user types a value. It appears to function the same as the change event and only fires when a dropdown value is selected. Expected behavior (at least how I am trying to use it) would be the same as the wa-input component, the event would fire as keyboard inputs is received. Especially when the "allow-custom-value" attribute is used, although could be useful across the board.

To Reproduce

Steps to reproduce the behavior:

  1. Add wa-combobox component
  2. Add input event listener to component
  3. Observe event not being fired when typing in component

I'm using Vue and the shorthand input attribute directly on the component (works fine on wa-inputs), but have observed the same behavior with document.addeventlistener.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions