We have a custom implementation in VE-MW settings for adding categories, but this should be genericised and improved. Phabricator's widget is a pretty good implementation to copy:
|oojs/ui : master||CapsuleMultiSelectWidget: Introduce|
- Mentioned In
- T117793: Convert Special:EditTags to OOUI
rGOJUa00578b46dc9: CapsuleMultiSelectWidget: Introduce
T53443: Replace Chosen with select2
T91147: Create a generalised multi-select widget (aka CapsuleMultiselectWidget)
- Mentioned Here
- rESFO396bacb6bd5d: Combobox switched to Select2 autocompletion
rWFDB8ff1cd8e1c1b: Merge "Add select2 lib"
Phabricator's widget is a pretty good implementation to copy
Except for the part where it only shows you 5 possibilities, so if you want to browse the available options you're out of luck. When there's a known list of values I'd rather see something that displays the full (filtered) list in the popup instead of the top 5.