Skip to content

Add on_blur trigger for Autocomplete component #1279

@BobserLuck

Description

@BobserLuck

Is your feature request related to a problem? Please describe.
Not directly. But parity with other text like inputs would be fantastic.

Describe the solution you'd like
An additional on_blur Event trigger for the Autocomplete Component.

Describe alternatives you've considered
Autocomplete does have the raw on_input Event. Though, as mentioned on the Input Component documentation, this can hinder performance if every keystroke is going back to the server.

Additional context
A form allowing an Autocomplete field as both having suggested inputs but also treated as a standard text input. Allowing more efficient server updates if text is entered but not part of any selection. This can be done via on_input, but that sends every keystroke to the server, and other text input Components recommend using on_blur in light of that.

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