NumberInputWidget currently inherits TextInputWidget and therefore uses type=text as input type. This comes in especially problematic on various touch screen devices as it triggers the normal keyboard instead of the numeric keyboard.
Description
Description
Details
Details
Related Changes in Gerrit:
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T55613 Create dedicated input methods for transclusion parameters (using "Param#type" from TemplateData) | |||
| Open | None | T124850 Create dedicated input methods for "number" transclusion parameters | |||
| Resolved | • Prtksxna | T130434 Break up TextInputWidget | |||
| Resolved | Mooeypoo | T124856 NumberInputWidget is not actually an InputWidget | |||
| Resolved | • Prtksxna | T132489 NumberInputWidget: Triage changing `type=text` to `type=number` |
Event Timeline
Comment Actions
Change 283155 had a related patch set uploaded (by Prtksxna):
TextInputWidget: Allow type="number"
Comment Actions
Change 283452 had a related patch set uploaded (by Prtksxna):
NumberInputWidget: Use input type="number"
Comment Actions
Change 283686 had a related patch set uploaded (by Prtksxna):
TextInputWidget: Set step to 'any' if the type is set to 'number'
Comment Actions
Change 283686 merged by jenkins-bot:
TextInputWidget: Set step to 'any' if the type is set to 'number'