Explain on checkboxrow overlaps checkbox

stromb0li

Well-known member
Affected version
2.3.3
When having a single checkbox, the explain label is overlayed on the checkbox vs beneath it.

HTML:
<xf:checkboxrow label="My Checkbox" hint="Poor man's boolean" explain="moo">
      <xf:option name="nonarraycheckbox" value="1" checked=""></xf:option>
</xf:checkboxrow>

You'll see this:
1730059980545.webp
 
I think you need to include a label on the option.

Code:
<xf:checkboxrow label="My Checkbox" hint="Poor man's boolean" explain="moo">
      <xf:option name="nonarraycheckbox" value="1" checked="" label="foo"></xf:option>
</xf:checkboxrow>

or

<xf:checkboxrow label="My Checkbox" hint="Poor man's boolean" explain="moo">
      <xf:option name="nonarraycheckbox" value="1" checked="">foo</xf:option>
</xf:checkboxrow>
 
Just use &nbsp; so it's not empty.
Me and development...
Michael Scott Reaction GIF
 
Back
Top Bottom