mui / mui/base-ui

[autocomplete] Manually reset highlighted item

Open
#4,745 3 comments 0 reactions 0 assignees View on GitHub
component: autocomplete
Dominant language
TypeScript
Stars
10.9k
Forks
543
Avg merge
1d 20h
Merged PRs (30d)
101

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.