Page MenuHomePhabricator

OOUIHTMLForm wraps Hidden fields into a fieldset
Closed, ResolvedPublic

Description

Take a look at this implementation:
https://github.com/wikimedia/mediawiki/blob/master/includes/specials/SpecialComparePages.php#L89-L100

Switching it to OOUI should generate an output like:

desired.PNG (824×1 px, 112 KB)

but instead creates empty elements for the hidden fields:

not_desired.PNG (864×1 px, 134 KB)

(see the three elements, one is marked)

Event Timeline

Florian raised the priority of this task from to Medium.
Florian updated the task description. (Show Details)
Florian updated the task description. (Show Details)
Florian set Security to None.
Florian added subscribers: gerritbot, Florian, Paladox and 5 others.

Change 251018 had a related patch set uploaded (by Florianschmidtwelzow):
HTMLForm: Do not render hidden elements as elements

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

Change 251018 merged by jenkins-bot:
HTMLForm: Do not render hidden elements as elements

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