mui / mui/base-ui

[select][combobox] Guidance on Select vs. Combobox

Open
#2,734 6 comments 0 reactions 0 assignees View on GitHub
component: select support: question
Dominant language
TypeScript
Stars
10.9k
Forks
543
Avg merge
1d 20h
Merged PRs (30d)
101

Description

# Get help

## Ask a question

I would like to ask for a clearer distinction between the `Select` and `Combobox` components.

The documentation suggests that we should "consider `Combobox` over `Select` for handling large amounts of data." However, this guideline feels a bit ambiguous on its own, as there are other significant differences in the features and anatomy of the two components.

For example, I want to implement a "Clear" feature on a `` component to deselect all items. I noticed that `Combobox` provides this out-of-the-box, but `Select` does not, which requires a manual implementation as a controlled component.

This leads me to a couple of questions:

1. For a use case where a **`Clear` feature is desired but text filtering is not needed**, is it still recommended to use `Combobox` over `Select`?
2. Alternatively, are there any plans to **add a built-in `Clear` feature to the `Select` component** in the future?

Thank you for your guidance on this.

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.