Closed walkerjeffd closed 2 years ago
Clicking "Diadromous Fish" now selects "Eelgrass". Looks like you only fixed the first column (Salt Marsh, Tidal Flats). Same with WQ, pH to Enterococcus all have id="key" still but Nitrogen to Temperature works.
If I have Eelgrass selected, then click the text (not the button) part of the Tidal Flats option, then it selects Salt Marsh.
This is caused by the
<input>
elements not having a uniqueid
attribute (currently, they're allkey
). Can fix it by assigning uniqueid
to each<input>
and then referencing that id in thefor
attribute of the<label>
. For example, this useshabitat-eelgrass
for the eelgrass radio button.And can do the same for WQ.