Skip to content

[autocomplete] Cannot use start adornments on multiple select autocomplete#19479

Description

@gerardosabetta

Using start adornments on multiple select autocompletes makes the chips stop rendering.

Current Behavior 馃槸

If you try to have a multiple select autocomplete with adornment the chips won't render anymore

Expected Behavior 馃

To have the ability to use adornments without breaking the autocomplete

Steps to Reproduce 馃暪

Add InputProps.startAdornment to the params that you get on the render function, pass it onto the textField and see what happens.

https://codesandbox.io/s/bug-on-addornments-b22gr

  1. on the first autocomplete, search and try to select options. you will see them selected when the options are shown but you will not see the chips
  2. on the second autocomplete you won't even get the options to show
  3. the third autocomplete is working just fine without adornments

I tried this approach with non-multiple autocompletes and it worked just fine

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussiondocsImprovements or additions to the documentation.scope: autocompleteChanges related to the autocomplete. This includes ComboBox.support: questionCommunity support but can be turned into an improvement.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions