Page MenuHomePhabricator

OOjs UI: Create a "ComboBox" (write-in-able drop-down) widget
Closed, ResolvedPublic

Description

We'd like a widget that works as an extension of the existing MenuInputWidget (drop-down selection) that lets the user write-in a value that doesn't appear in the list.

Example use cases:

  1. User is asked to set a reference group, choosing from a selection of existing ones, or entering a new one.
  1. User is asked to set an image's size bounding box, choosing from a selection of recommended ones, or entering a specific one.

In Windows I believe this is called a ComboBox.


Version: unspecified
Severity: enhancement

Details

Reference
bz61573

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:07 AM
bzimport added a project: OOUI.
bzimport set Reference to bz61573.

Sounds like OO.ui.TextInputMenuWidget...

(In reply to Alex Monk from comment #2)

Sounds like OO.ui.TextInputMenuWidget...

Yes, but styled differently to only show suggestions as a pop-over.

Change 143097 had a related patch set uploaded by Alex Monk:
Combo box widget

https://gerrit.wikimedia.org/r/143097

Change 143097 merged by jenkins-bot:
Create a combo box widget

https://gerrit.wikimedia.org/r/143097