-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
[Select][material-next] Add Select component #38972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
component: select
This is the name of the generic UI component, not the React module!
design: material you
on hold
There is a blocker, we need to wait
Milestone
Comments
This comment was marked as resolved.
This comment was marked as resolved.
I think the v6 Select will still depend on // heavily simplified version of what https://github.com/mui/material-ui/blob/master/packages/mui-material/src/Select/Select.js
// would look like in v6
function Select() {
return (
<OutlinedInput // it's essentially `InputBase` with a layer of styles
slots={{
input: SelectInput, // most of the refactoring with useSelect would happen here
}}
slotProps={{
input: {
children,
multiple,
// more props
},
}}
/>
);
} |
37 tasks
@mj12albert I agree with both your points 🙌🏼 This would mean trying to get as close as possible to Joy's implementation (which uses |
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component: select
This is the name of the generic UI component, not the React module!
design: material you
on hold
There is a blocker, we need to wait
Part of #29345
Material You specs: https://m3.material.io/components/menus/specs
Migration Guide checklist
useSelect
: WIP #39591Other features & related tasks
Option
component based on@mui/base/useOption
Menu
based on@mui/base/useMenu
for the Select's listboxnative
prop for nativeselect
isn't provided by Base yetmaterial-next
Input components when those are done: [TextField][material-next] Add v7 TextField component #38374useSelect
usesuseControlledReducer
internally, the warning when switching between controlled/uncontrolled needs to be added back (this comment)Divider
[Divider][material-next] Add Divider component #39007ListSubheader
, should v6 replace it with aOptionGroup
component? (This would be a breaking change, and also not in the MD3 spec)SelectField
component [SelectField][material-next] Introduce new component #21782label
with non-nativeSelect
[TextField][material-ui] id is missing in select TextField's input element #38869 (comment)The text was updated successfully, but these errors were encountered: