MDL-61823 forms: ensure grouped elements have ID attribute. aec607881897be16f3f344cda068487afa1df8c8
authorPaul Holden <paulh@moodle.com>
Wed, 5 Mar 2025 22:29:14 +0000 (22:29 +0000)
committerPaul Holden <paulh@moodle.com>
Thu, 3 Apr 2025 14:28:16 +0000 (15:28 +0100)
commitaec607881897be16f3f344cda068487afa1df8c8
tree14cdecd68978ada0e6eb2b911f06b9082ae54482
parentb00c328d2dbbd49dcba8738c9da3ba4302e56c3a
MDL-61823 forms: ensure grouped elements have ID attribute.

This is used by the forms implementation for faux-label elements
so that when they are clicked on, the first input element of the
corresponding group is focused.
lib/form/templates/element-group.mustache