fix: Align AutocompleteInput filterSelectedOptions default with MUI#11207
fix: Align AutocompleteInput filterSelectedOptions default with MUI#11207540792740 wants to merge 1 commit into
Conversation
ProblemAutocompleteInput sets filterSelectedOptions to true by default in its implementation. However, the underlying MUI Autocomplete component defaults this prop to false (see implementation around line 436 in the MUI source). This discrepancy leads to:
SolutionExplicitly set filterSelectedOptions={false} in AutocompleteInput so its default behavior matches MUI. This keeps the prop overridable for users who want a different behavior. How To Test
Additional Checks
|
|
This line was added in #7087, probably for a good reason. We need to investigate to understand the implications. |
|
Nothing prevents developers from changing this prop in user land. Besides, a discrepancy with MUI doesn't justify changing a behaviour that has been there for the past 4 years. We favor stability over new features. So thanks for your PR, but we'll pass on this one. |
No description provided.