Skip to content

Manually reset highlighted item of autocomplete #4745

@timakro

Description

@timakro

I'm building a more complex autocomplete component based on Base UI Autocomplete (similar to GitHub issue search). When one item is autocompleted I need to keep the autocomplete open but show a new set of options -- the highlighted item should reset to null (no item highlighted). How can I control the highlighted item from the outside or call into the component to reset the highlighted item to null?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions