Skip to content

[autocomplete] Respect null filter prop - #4117

Merged
atomiks merged 3 commits into
mui:masterfrom
atomiks:codex/autocomplete-null-filter-regression
Feb 27, 2026
Merged

atomiks merged 3 commits into
mui:masterfrom
atomiks:codex/autocomplete-null-filter-regression

Conversation

@atomiks

@atomiks atomiks commented Feb 17, 2026 •

Copy link
Copy Markdown
Contributor

In #3936, filter={null} stopped being respected. In the async autocomplete demo, searching by years broke the rendering of items.

Workaround: filter={() => true}

Fixes #4196

@atomiks atomiks added type: regression A bug, but worse, it used to behave as expected. component: autocomplete Changes related to the autocomplete component. labels Feb 17, 2026
@pkg-pr-new

pkg-pr-new Bot commented Feb 17, 2026 •

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

  • vite-css-base-ui-example

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

commit: 2aaff1c

@mui-bot

mui-bot commented Feb 17, 2026 •

Copy link
Copy Markdown

Bundle size report

Bundle Parsed size Gzip size
@base-ui/react 🔺+23B(+0.01%) 🔺+6B(0.00%)

Details of bundle changes


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

@netlify

netlify Bot commented Feb 17, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 2aaff1c
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/69a0fc49db41a30008a2154c
😎 Deploy Preview https://deploy-preview-4117--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@atomiks
atomiks marked this pull request as ready for review February 17, 2026 12:55
@atomiks
atomiks merged commit a9324ae into mui:master Feb 27, 2026
7 checks passed
@atomiks
atomiks deleted the codex/autocomplete-null-filter-regression branch February 27, 2026 02:12
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: regression A bug, but worse, it used to behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[autocomplete] filter={null} silently ignored — falls back to default contains filter

3 participants