Page MenuHomePhabricator

HTMLRadioField: Support per-option help texts
Open, MediumPublic

Description

In T323270: Allow mentors to select their preferences when they signup, the Growth team wants to add explanatory text to a radio field (HTMLRadioField), see screenshot:

Capture d’écran_2022-11-21_18-50-29.png (147×867 px, 31 KB)

Unfortunately, with the current form descriptors, this is not possible. Fortunately, in OOUI's RadioSelectInputWidget, this is easy to do.

Event Timeline

Change 863047 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[oojs/ui@master] RadioSelectInputWidget: Support help texts for each option

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

Change 863048 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/core@master] HTMLRadioField: Support per-options help texts

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

Urbanecm_WMF renamed this task from HTMLRadioField: Support help texts to HTMLRadioField: Support per-option help texts.Dec 1 2022, 10:45 PM
Urbanecm_WMF changed the task status from Open to In Progress.
kostajh subscribed.

Moving to needs work per this code review comment.

@Urbanecm_WMF do you have time to work on the JS implementation as requested there?

(Cross-linking T359019 which would implement this for CodexHTMLForm)

Pppery changed the task status from In Progress to Open.Nov 18 2024, 5:46 PM

@Urbanecm_WMF: Removing task assignee as this open task has been assigned for more than two years - See the email sent on 2025-05-22.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome!
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!