The current implementation of the Typeahead component has several shortcomings. E.g.
- Changing the selection is hard as only the current option is displayed when opening the dropdown
- The behavior when the user enters a string that is not part of the option list is confusing
At the same time, the component is too large, complex, hard to understand and maintain. We should rewrite it in close collaboration with the design team and especially pay attention to the following use cases:
- what should happen if the user tries to confirm a manually entered option that does not exist
- how can the user change a previous selection
All the current places where we use Typeaheads should still be supported.
|Rewrite Typeahead component||Done||Unassigned|
|Use the new Typeahead for adding a user to collection||Done||Unassigned|
|Cannot add user to collection which is not available in search||Done||Unassigned|
|handle very long names in roles typeahead options||Done||Unassigned|
|add search highlighting to the new Typeahead||Done||Unassigned|