-
Improvement
-
Resolution: Deferred
-
Minor
-
None
-
4.1
-
MOODLE_401_STABLE
-
MDL-75681_refactor-bootstrap-5.x-data-attributes -
Some bootstrap html data attributes have changed syntax causing UI component to stop working. Popovers are an example of these.
The old syntax on a button with some popover text:
<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="top" data-content="Top popover"> |
Popover on top
|
</button> |
The new syntax:
<button type="button" class="btn btn-secondary" data-bs-container="body" data-bs-toggle="popover" data-bs-placement="top" data-bs-content="Top popover"> |
Popover on top
|
</button> |
Find all uses of these popovers and update the html