Multi-select text input component

I’m trying to re-create a multi-select input component, like Mantine’s MultiSelct component: MultiSelect | Mantine

How it works: user clicks a text input field, they’re shown selectable options in a dropdown list. They can use the input field to search, by typing. When they click on one of the dropdown list items, it gets added to the input field as a removable pill.

Creating a multi-select when the selected items go to their own place is straight forward but I haven’t found anything for this use case.

This thread has a solution that might help you.