Current Behavior 馃槸
Within lab version 4.0.0-alpha.56, core 4.11.0, when you use startAdornment within InputProps in Autocomplete, as well as multiple. The multiple tags do not appear but act as though you triggered them.
Expected Behavior 馃
Have a startAdornment persisting at the same time as using multiple tags
Steps to Reproduce 馃暪
Proof can be found here
Within said demo you will see 2 autocomplete fields, the only difference (besides the ID) is that the top (broken) one sets the startAdornment to "test", whilst the second does not.
Plain code can also be found here incase for some reason the sandbox doesn't work.
Steps:
- Setup a autocomplete
- Setup renderInput
- RenderInput uses TextField
- TextField sets InputProps
- InputProps sets
startAdornment (whether it is text or icon doesn't matter)
Context 馃敠
Attempting to use the startAdornment as a "pending" kind of tag. So the user first uses AC to figure out what "tag" then when that is done, it is passed to startAdornment, and based upon that, the user is then prompted with AC based upon said "tag".
Your Environment 馃寧
| Tech |
Version |
| Material-UI/core |
v4.11.0 |
| Material-UI/lab |
v4.0.0-alpha.56 |
| React |
v16.13.1 |
Current Behavior 馃槸
Within lab version 4.0.0-alpha.56, core 4.11.0, when you use
startAdornmentwithinInputPropsin Autocomplete, as well as multiple. The multiple tags do not appear but act as though you triggered them.Expected Behavior 馃
Have a
startAdornmentpersisting at the same time as using multiple tagsSteps to Reproduce 馃暪
Proof can be found here
Within said demo you will see 2 autocomplete fields, the only difference (besides the ID) is that the top (broken) one sets the
startAdornmentto "test", whilst the second does not.Plain code can also be found here incase for some reason the sandbox doesn't work.
Steps:
startAdornment(whether it is text or icon doesn't matter)Context 馃敠
Attempting to use the startAdornment as a "pending" kind of tag. So the user first uses AC to figure out what "tag" then when that is done, it is passed to startAdornment, and based upon that, the user is then prompted with AC based upon said "tag".
Your Environment 馃寧