I love the appearance and UX of the multi-select mode, but I still want to limit the user to one selection. In particular, I think showing the selection as a sort of button with an "x" to clear it is better than making them delete the text to clear their selection.
It would be great if I could set a maxSelected prop with multiple to get this behavior:
<Typeahead multiple maxSelected={1} options={[...]} />
I love the appearance and UX of the multi-select mode, but I still want to limit the user to one selection. In particular, I think showing the selection as a sort of button with an "x" to clear it is better than making them delete the text to clear their selection.
It would be great if I could set a
maxSelectedprop with multiple to get this behavior: