-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
scope: autocompleteChanges related to the autocomplete. This includes ComboBox.Changes related to the autocomplete. This includes ComboBox.
Description
Steps to reproduce
Steps:
- Use MUIAutoComplete component
- Pass him options with the same label values
- Start looking for values that are not in the duplicated labels
- Next, an option will appear that we weren't looking for.
- Delete the value in the input and enter it again
- The options are quickly added
Bug playback video
https://github.com/user-attachments/assets/6dd02879-93ab-44fa-8d24-aa29ca07b424
Current behavior
Bug playback video
https://github.com/user-attachments/assets/6dd02879-93ab-44fa-8d24-aa29ca07b424
Expected behavior
Expected behavior:
I can have multiple objects with the same label value in my options. Filtering when searching for the desired option should work correctly and output only the values I am looking for.
If I search for "Second", then only "Second" should be output. There should be no "Firsts"
Context
No response
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Search keywords: Autocomplete, Filter, Duplicate, Option, Label
Metadata
Metadata
Assignees
Labels
scope: autocompleteChanges related to the autocomplete. This includes ComboBox.Changes related to the autocomplete. This includes ComboBox.