Page MenuHomePhabricator

Provide some PHP support for DropdownWidget
Closed, ResolvedPublic

Description

We have no PHP support for any kind of SelectWidget, in particular no DropdownWidget (corresponds to <select> element).

Plan:

  • Create a new DropdownInputWidget class:
    • In PHP, it's just a wrapper around a <select>
    • In JS, it's a wrapper around a <input type=hidden> and a proper fun-enabled DropdownWidget
  • Possibly extend this approach for MultiSelectInputWidget and such in the future…

Event Timeline

matmarex raised the priority of this task from to Needs Triage.
matmarex updated the task description. (Show Details)
matmarex added a project: OOUI.
matmarex subscribed.
Jdforrester-WMF renamed this task from No PHP support for any kind of SelectWidget to Provide some PHP support for SelectWidget.Jan 10 2015, 1:57 AM
Jdforrester-WMF triaged this task as High priority.
Jdforrester-WMF set Security to None.
Jdforrester-WMF subscribed.
matmarex renamed this task from Provide some PHP support for SelectWidget to Provide some PHP support for DropdownWidget.Jan 15 2015, 12:42 AM
matmarex updated the task description. (Show Details)
gerritbot subscribed.

Change 185376 had a related patch set uploaded (by Bartosz Dziewoński):
[WIP] Introduce DropdownInputWidget

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

Patch-For-Review

Change 185376 merged by jenkins-bot:
Introduce DropdownInputWidget

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