You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
missmatsuko
changed the title
Dropdown and multi-select select elements missing id attribute
Some fields' select/input elements missing id attribute
Dec 22, 2020
For example, on this dropdown field. The label has a for attribute of dropdown1, but there is no element on the page with an id of dropdown1. In this case, the <select> element should have this id attribute.
Ahh, thanks! Just fixed that for the next release, for Dropdown, Multi-select, and Number fields.
I’ve also “fixed” it for Checkboxes and Radio Buttons fields for Craft 3.6, by having those field types start using <fieldset> + <legend>s rather than <div> + <label>s (341911b). (That change relied on the changes in fea2e21 to work, which is 3.6-only, so that’s why it wasn’t done for 3.5.x.)
Description
Some fields'
select
/input
elements missingid
attribute, so their labels aren't linked up:select
in dropdown fieldselect
in multi-select fieldinput
in number fieldSteps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: