Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.7.4, 3.8, 3.9
-
MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MDL-67447-master-autocomplete -
Description
Steps to reproduce
- Go to a place where an autocomplete form element is used such as the the course Participants page
- Make a selection
- Observe the HTML of the selected item
Expected result:
The DIV generated by the lib/templates/form_autocomplete_selection.mustache should be used.
Actual behaviour:
The DIV is generated and its content is replaced with itself, effectively leading to having two duplicate DIVs with the same attributes. For example:
<div class="form-autocomplete-selection w-100 form-autocomplete-multiple" id="form_autocomplete_selection-1575446610531" role="list" aria-atomic="true" tabindex="0" aria-multiselectable="true">
|
<div class="form-autocomplete-selection w-100 form-autocomplete-multiple" id="form_autocomplete_selection-1575446610531" role="list" aria-atomic="true" tabindex="0" aria-multiselectable="true">
|
<span class="accesshide">Selected items:</span>
|
Attachments
Issue Links
- is a regression caused by
-
MDL-62514 Random behat failure (Mary Smith)
-
- Closed
-