viclafouch / mui-chips-input

📌 A chips input designed for MUI (Material ui) V6
https://viclafouch.github.io/mui-chips-input/
MIT License
83 stars 19 forks source link

Cannot use InputProps with Chip Input #38

Closed monicayao closed 8 months ago

monicayao commented 1 year ago

Describe the bug When using InputProps, chips do not properly show up. I saw that this inherits from TextField, https://viclafouch.github.io/mui-chips-input/docs/inheritance/ so it should also inherit InputProps, one of them being an adornment.

To Reproduce I made a sandbox of this behavior https://codesandbox.io/embed/inspiring-http-dn7gxh?fontsize=14&hidenavigation=1&theme=dark

Expected behavior When there is an input adornment the chips should still show up.

Screenshots

https://github.com/viclafouch/mui-chips-input/assets/35382166/46aa382d-9f16-47f5-a48f-544a300ec9da

Desktop (please complete the following information):

viclafouch commented 8 months ago

Hello !

Sorry for the delay. You can't add a startAdornment to this component add it will result to unexpected behaviors in UI level..