Skip to content

Chip/Pill Input #3311

Answered by SiTaggart
bthomasstill asked this question in Ideas
Discussion options

You must be logged in to vote

Hi @bthomasstill

We've not really considered this as part of the roadmap officially. We feel it's fairly straight forward to compose with the pieces we provide, it might just not be as obvious as we'd like it to be.

I knocked up a quick code sandbox to demonstrate: https://codesandbox.io/s/composer-and-pill-custom-mc56h3?file=/src/index.tsx

The first part of it is acknowledging you can't place anything in HTML input elements other than strings. Essentially, even with the multi select combobox, the pills are never in the input. They just look like they are. They are siblings to the input with a border placed around them both. Internally, we use InputBox and InputElement to achieve this. El…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SiTaggart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants