moodle/lib/form/upgrade.txt
Paul Holden b7205c5c84
MDL-71336 forms: ensure grouped date elements have unique IDs.
Previously they were each taking the ID of their parent group element.
2023-11-23 12:01:24 +00:00

20 lines
916 B
Plaintext

This files describes API changes in core_form libraries and APIs,
information provided here is intended especially for developers.
=== 4.4 ===
* Now autocomplete suggestions will preserve classes defined in respective original "option" elements
Alongside with that new ".suggestions-heading" class was added to easily generate suggestion headings
* The `core/form-autocomplete` module now exports an `enhanceField` method to return native promise (of
which the previous `enhance` is now a wrapper of, while preserving jQuery promise return)
* The group element has a new method `getAttributesForFormElement` which should be used in conjunction
with `createFormElement` to ensure that all elements within the group have unique IDs
=== 4.3 ===
* Added a new parameter to allow Groups to add attributes.
=== 4.2 ===
* The moodle-form-passwordunmask module has been removed. It was deprecated in Moodle 3.2.