@Florian pointed out in https://gerrit.wikimedia.org/r/#/c/280693/2/SpecialSearchWiki.php that it only supports autocompletion by the prefix. For example, if there is an option with display name "Foobar", it should show that option even if you typed "bar".
In Firefox/Ubuntu locally, when JS is disabled, the native form element does support this.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
ComboBoxInputWidget: Allow filtering by input | oojs/ui | master | +52 -4 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 281259 had a related patch set uploaded (by Florianschmidtwelzow):
Allow to filter ComboboxInputWidget by input
Comment Actions
Change 281259 abandoned by Florianschmidtwelzow:
ComboBoxInputWidget: Allow filtering by input
Comment Actions
Change 281259 restored by Prtksxna:
ComboBoxInputWidget: Allow filtering by input
Reason:
Rebasing and testing.
Comment Actions
This might have also been fixed by rGOJU63111dc734bd: MenuSelectWidget: Add 'filterMode' + rGOJU4bb33dbb8515: SelectWidget: Rewrite getItemMatcher without regular expressions?
You can now do something like this:
new OO.ui.ComboBoxInputWidget( { options: [ … ], menu: { filterFromInput: true, filterMode: 'substring' } } ),
Comment Actions
Change 281259 abandoned by Florianschmidtwelzow:
[oojs/ui@master] ComboBoxInputWidget: Allow filtering by input
Reason: