TickTackk
Well-known member
- Affected version
- 2.2.2
Sample code
This only disables the actual hidden input but does not hide the choice itself.
HTML:
<xf:checkboxrow>
<xf:option name="blah"
label="{{ phrase('abc_xyz_type.blah') }}"
data-xf-init="disabler"
data-hide="true"
data-container=".js-hideThisplz" />
<xf:option class="js-hideThisplz" name="blah2"
label="{{ phrase('abc_xyz_type.blah2') }}" />
</xf:checkboxrow>