User tests: Successful: Unsuccessful:
Create custom field extended from JFormFieldCheckboxes
and add multiple options with disabled option in the middle of options.
Or test with XML:
<field name="test" type="checkboxes">
<option value="1">1</option>
<option value="2" disabled="true">2</option>
<option value="3">3</option>
</field>
Only 2nd checkbox is disabled.
2nd and 3rd checkboxes are disabled.
As usual.
/layout/joomla/form/field/checkboxes.php
:
The idea is to not use previous/field-specific 'disabled' attribute if there are more than 1 option.
Status | New | ⇒ | Pending |
Category | ⇒ | Layout |
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC after two successful tests.
Milestone |
Added: |
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-07-05 11:40:29 |
Closed_By | ⇒ | rdeutz |
I have tested this item✅ successfully on 2ef1888
Test on templateDetails.xml of Protostar.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16811.