mirror of
https://github.com/moodle/moodle.git
synced 2025-05-03 23:07:27 +02:00
20 lines
916 B
Plaintext
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.
|