Replies: 1 comment
-
This is largely a documentation issue. We already gave the tags input and combo box, the main task is to compose them together to re-create this UX you've described. We'll consider adding this to the docs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. For the last two days I am trying to figure out a way to build a combobox component similar to this mantine component that has a chip mode and you can search for options.
![Screenshot from 2023-10-09 17-33-02](https://private-user-images.githubusercontent.com/18693428/273609439-19bbc67e-4e8e-417b-a670-a598353d9ce2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk1Mjg5MDUsIm5iZiI6MTcxOTUyODYwNSwicGF0aCI6Ii8xODY5MzQyOC8yNzM2MDk0MzktMTliYmM2N2UtNGU4ZS00MTdiLWE2NzAtYTU5ODM1M2Q5Y2UyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI3VDIyNTAwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJkNTk5MGVkMjgxZGRmY2RkZmVmZDgyYWQ2YjI0OGFmNGYxYTlmOTE2YmZmZjg0ZGU4ZTVkODNkOTA4YmQ4NjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.epiUpHM-GYtPc0wTHDbPRW6atn9n1V2NYRJQ9ZrnY6U)
But unfortunately I wasn't successful. Until now I was just fighting Combobox's input element to let me just add my custom text value (better control). Whenever I select or unfocus from the input it reset input's value based on selected options plus there is no hidden inpu to keep selected items when it is used inside a form. But I don't want selected options to be shown as input's value. Here is my suggestion to have more flexible combobox component:
select
element similar to hidden select element insideSelect
Component.Beta Was this translation helpful? Give feedback.
All reactions