In https://gerrit.wikimedia.org/r/#/c/424245/ and https://gerrit.wikimedia.org/r/#/c/424652/ I want to make use of [[ https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/htmlform/HTMLForm.php;48a6894abbb26e5e93437bf30cf0fee54db052a4$94 | hide-if ]] setting to conditional show/hide some form elements.
The element to be hidden (highlighted in the screenshots) is 'type' => 'radio' with 'flatlist' => true. The screenshots show that the look is different with and without hide-if (if it's used, flatlist is ignored).
without hide-if | with hide-if |