Clarification request - or bug repoort.
Screenshot:
I think I have found a problem in HTMLForm, let me try to explain. In E:OpenID, a new preferences tab "openid" is added, which adds sections with 'toggle' and also 'multiselect' forms via the Preferences hook.
I noticed, that with the 'toggle' type, I cannot set up a 'default' text left of the toggle checkbox, I can only set up an individual text on the right side of the toggle checkbox (using 'label-message' key) (pictured).
With the 'multiselect' option I can use 'default' to set up a text left of the checkboxes and individual label-messages on the right side, of course (pictured).
The relevant code is in onGetPreferences in E:OpenID see lines 282 seq. https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FOpenID/483c1c9dfdbbdbdddd967bd87566b3d592c7285c/OpenID.hooks.php#L282 . In the part for 'user', where I use 'toggle', setting a 'default' value does not result in a text.
Version: 1.22.0
Severity: normal