Skip to content

[Autocomplete] freesolo forces an autocomplete entry on enter #46729

@arishoham

Description

@arishoham
Screen.Recording.2025-08-12.at.12.54.11.PM.mov

Steps to reproduce

Steps:

  1. Open this link to live example: https://stackblitz.com/edit/github-cfngmona-azw9frdq?file=src%2FApp.tsx
  2. type in "pe"
  3. press enter, "pediatric ent" is selected

Current behavior

Steps:

  1. Open this link to live example: https://stackblitz.com/edit/github-cfngmona-azw9frdq?file=src%2FApp.tsx
  2. type in "pe"
  3. press enter, "pediatric ent" is selected
Screen.Recording.2025-08-12.at.12.54.11.PM.mov

Expected behavior

Steps:

  1. Open this link to live example: https://stackblitz.com/edit/github-cfngmona-azw9frdq?file=src%2FApp.tsx
  2. type in "pe"
  3. press enter, "pe" should be in input, and the onInputChange should register with "pe"

Context

Issue was introduced with #46489

Your environment

npx @mui/envinfo
browser: chrome 138.0.7204.184

System:
    OS: macOS 15.6
  Binaries:
    Node: 22.11.0 - ~/.nvm/versions/node/v22.11.0/bin/node
    npm: 11.2.0 - ~/.nvm/versions/node/v22.11.0/bin/npm
    pnpm: Not Found
  Browsers:
    Chrome: 139.0.7258.67
    Edge: Not Found
    Safari: 18.6
  npmPackages:
    @base-ui-components/react:  1.0.0-beta.2 
    @base-ui-components/utils:  0.1.0 
    @emotion/react:  11.14.0 
    @emotion/styled:  11.14.1 
    @mui/core-downloads-tracker:  7.3.1 
    @mui/icons-material:  7.3.1 
    @mui/lab:  7.0.0-beta.16 
    @mui/material:  7.3.1 
    @mui/material-nextjs:  7.3.0 
    @mui/private-theming:  7.3.1 
    @mui/styled-engine:  7.3.1 
    @mui/system:  7.3.1 
    @mui/types:  7.4.5 
    @mui/utils:  7.3.1 
    @mui/x-charts:  8.10.0 
    @mui/x-charts-vendor:  8.6.0 
    @mui/x-date-pickers:  8.10.0 
    @mui/x-internal-gestures:  0.2.3 
    @mui/x-internals:  8.10.0 
    @types/react:  18.3.13 
    react:  18.3.1 
    react-dom:  18.3.1 
    typescript: 5.9.2 => 5.9.2

Search keywords: freesolo, autocomplete

Metadata

Metadata

Assignees

Labels

scope: autocompleteChanges related to the autocomplete. This includes ComboBox.status: waiting for authorIssue with insufficient information.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions