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.
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-06-22 10:51:56 |
Closed_By | ⇒ | brianteeman |
@Denitz you dont need to create an issue if you are going to immediately create a pull request
Please update #16811 with the description from your post here