﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36724	"FilteredSelectMultiple widget has broken ""for"" attribute on <legend>"	Jacob Walls	Varun Kasyap Pentamaraju	"- View the User model in the admin
- Inspect the label ""Groups:""
{{{
<legend for=""id_groups"">Groups:</legend>
}}}
- Query for that element:
{{{#!js
> document.getElementById(""id_groups"")
null
}}}

There should probably be an `id` on the top `<div>` in this structure?

{{{
<div>
  <div class=""flex-container"">
    <div class=""related-widget-wrapper"" data-model-ref=""group"">
      <div class=""selector"">
        <div class=""selector-available"">
          <div id=""id_groups_from_title"" class=""selector-available-title"">
     ...
}}}

SelectFilter2.js constructs ids like ""id_groups_from_title"" and ""id_groups_selector_chosen"" in this case."	Bug	assigned	contrib.admin	6.0	Normal				Accepted	1	0	1	0	0	0
