Skip to content

bug(mat-autocomplete): missing multiple option in mat-autocomplete, but in mat-select this feature present #31143

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

Closed
1 task
lopatnov opened this issue May 19, 2025 · 1 comment
Labels
needs triage This issue needs to be triaged by the team

Comments

@lopatnov
Copy link

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

Components are not consistent. They looks very close, but in mat-select you can choose multiple options, but in mat-autocomplete you don't have such opportunity. And I don't see any opportunity to prevent closing mat-autocomplete.

Reproduction

StackBlitz link: -
Steps to reproduce:

  1. Create mat-autocomplete and mat-select with multiple option
  2. mat-select has opportunity to select multiple items, but mat-autocomplete doesn't have this opportunity

Expected Behavior

mat-autocomplete should also have multiple options as in mat-select

Actual Behavior

mat-autocomplete doesn't react on multiple

Environment

  • Angular:
    "@angular/cdk": "^19.2.15",
    "@angular/common": "^19.2.10",
    "@angular/compiler": "^19.2.10",
    "@angular/core": "^19.2.10",
  • CDK/Material:
    "@angular/material": "^19.2.15",
  • Browser(s): Chrome Version 136.0.7103.114 (Official Build) (64-bit)
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows 11
@lopatnov lopatnov added the needs triage This issue needs to be triaged by the team label May 19, 2025
@crisbeto
Copy link
Member

Duplicate of #5053.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue needs to be triaged by the team
Projects
None yet
Development

No branches or pull requests

2 participants