Page MenuHomePhabricator

Not able to type in RadioSelectWidget with text input in a label
Open, HighPublic

Description

In https://doc.wikimedia.org/oojs-ui/master/demos/?page=widgets&theme=wikimediaui&direction=ltr&platform=desktop#RadioSelectWidget-with-text-input-in-a-label:

Expected result: I should be able to select the radio and then type into the input widget as the label.

Actual result: It is currently possible to only select that specific radio option, yet pressing it again shows the active and focus state of the radio. No text is shown, even after trying to click the input field and pressing random keys. This occurs on the master branch of the OOUI JS demos for desktop, on Chrome 61.0.3163.100 with Windows 10.
It's also possible to tab into the input field.

Screenshot:

image.png (768×1 px, 64 KB)

Dev notice:
RadioOption seems to capture click over child TextInputWidget.

Event Timeline

SamanthaNguyen renamed this task from Not able to type in RadioOptionWidget with text input in a label to Not able to type in RadioSelectWidget with text input in a label.May 1 2018, 2:34 AM
Volker_E triaged this task as High priority.

@Volker_E I've only now realized that this was marked as assigned to me nearly a year ago… I haven't been working on it. I wonder if that was a mistake, since I don't remember us discussing it?