Skip to content

[autocomplete] Respect locale when filtering - #5195

Merged
atomiks merged 1 commit into
mui:masterfrom
atomiks:codex/fix-autocomplete-locale-filter
Jul 10, 2026
Merged

atomiks merged 1 commit into
mui:masterfrom
atomiks:codex/fix-autocomplete-locale-filter

Conversation

@atomiks

@atomiks atomiks commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Autocomplete's default filter did not use the locale prop in list or both mode.

Changes

  • Pass locale to the wrapper filter.
  • Add Turkish collation coverage for list and both.
  • Keep custom and disabled filtering behavior covered.

@atomiks atomiks added component: autocomplete Changes related to the autocomplete component. type: bug It doesn't behave as expected. labels Jul 10, 2026 — with ChatGPT Codex Connector
@pkg-pr-new

pkg-pr-new Bot commented Jul 10, 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@5195
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/utils@5195
    

commit: 69b8371

@code-infra-dashboard

code-infra-dashboard Bot commented Jul 10, 2026 •

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 🔺+17B(0.00%) 🔺+4B(0.00%)

Details of bundle changes

Performance

Total duration: 1,233.79 ms +45.16 ms(+3.8%) | Renders: 78 (+0) | Paint: 1,900.65 ms +33.44 ms(+1.8%)

Test Duration Renders
Checkbox mount (500 instances) 77.75 ms 🔺+16.74 ms(+27.4%) 1 (+0)

13 tests within noise — details


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

@netlify

netlify Bot commented Jul 10, 2026

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 69b8371
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a50b2069d9cc50008334c85
😎 Deploy Preview https://deploy-preview-5195--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.

@atomiks
atomiks marked this pull request as ready for review July 10, 2026 08:56
@atomiks
atomiks merged commit def0ead into mui:master Jul 10, 2026
7 of 8 checks passed
@atomiks
atomiks deleted the codex/fix-autocomplete-locale-filter branch August 11, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: autocomplete Changes related to the autocomplete component. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant