From the LSG:
Stepper controls allow for numeric input as well as up and down buttons which increase or decrease the value in the field by a fixed amount. The length of the input field component should be relative to the desired character length.
| • werdna | |
| Mar 10 2015, 1:00 PM |
| F168121: pasted_file | |
| May 23 2015, 7:53 AM |
From the LSG:
Stepper controls allow for numeric input as well as up and down buttons which increase or decrease the value in the field by a fixed amount. The length of the input field component should be relative to the desired character length.
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Add NumberInputWidget for numeric input | oojs/ui | master | +466 -0 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T28751 Extensions that should really be core functionality (tracking) | |||
| Resolved | Anomie | T89386 Merge ApiSandbox extension into core | |||
| Open | None | T113560 Standardize MediaWiki components (tracking) | |||
| Resolved | Anomie | T92893 Update ApiSandbox to MediaWiki appearance using OOjs UI | |||
| Duplicate | None | T97264 Make it lovely to develop with OOjs UI | |||
| Resolved | Anomie | T92263 "Stepper" numeric input (numeric field with up/down controls) in OOjs-UI (NumberInputWidget) | |||
| Resolved | matmarex | T94289 TextInput's height is not consistent with the rest of controls |
Should be higher priority if https://gerrit.wikimedia.org/r/212018 is going to forbid some input types.
Change 213271 had a related patch set uploaded (by Anomie):
Add StepperWidget for numeric input