-
Bug
-
Resolution: Fixed
-
Minor
-
3.5.5, 3.6.3, 3.7
-
MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
MDL-65081-master -
The \single_select::export_for_template() doesn't set the attributes. For example:
$attributes = [
|
'data-action' => 'some action'
|
];
|
echo $OUTPUT->single_select('#', 'action', $options, null, ['' => 'choosedots'], 'formid', $attributes);
|
The HTML for the select element doesn't include the 'data-action' attribute.
- will help resolve
-
MDL-61043 Provide a more consistent and better way of selecting and deselecting all items in a list
- Closed