Skip to content

[Select|Combobox] Split ValueType into readonly Input/Output - #5710

Merged
atomiks merged 4 commits into
mui:masterfrom
MonstraG:issue-5707
Sep 15, 2026
Merged

atomiks merged 4 commits into
mui:masterfrom
MonstraG:issue-5707

Conversation

@MonstraG

Copy link
Copy Markdown
Contributor

This allows consumers to pass readonly array without unwrapping

Same change done to ComboboxValueType.

Refs: #5707

This doesn't yet modify EMPTY_ARRAY as mentioned in #5707 (comment), that affects many more files.

This allows consumers to pass readonly array without unwrapping

Same change done to ComboboxValueType.

Refs: mui#5707
Since props themselves were already exported, this doesn't
actually change the API boundary, but it allows consumers
to reference, e.g. onValueChange's argument
without `Parameters<SelectRootProps['onValueChange']>[0]`
@pkg-pr-new

pkg-pr-new Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
  • base-ui-tanstack-start

  • vite-css-base-ui-example

    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/react@5710
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/utils@5710
    

commit: fe3bba1

@code-infra-dashboard

code-infra-dashboard Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 0B(0.00%) 0B(0.00%)

Details of bundle changes

Performance

Total duration: 1,088.20 ms -117.02 ms(-9.7%) | Renders: 76 (+0) | Paint: 1,764.00 ms -176.18 ms(-9.1%)

Test Duration Renders
Select open (500 options) 43.03 ms ▼-12.68 ms(-22.8%) 14 (+0)

14 tests within noise — details


Check out the code infra dashboard for more information about this PR.

@netlify

netlify Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit fe3bba1
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6aa898216efdd90007f3bcb7
😎 Deploy Preview https://deploy-preview-5710--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@zannager zannager added component: select Changes related to the select component. component: combobox Changes related to the combobox component. labels Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: combobox Changes related to the combobox component. component: select Changes related to the select component.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants