Both the refs.flounder div and the refs.selectedDisplayed div get classes.DISABLED when the Flounder is disabled.
Problem
It’s redundant to give both divs classes.DISABLED since refs.selectedDisplayed is inside refs.flounder.
What’s more, if you programmatically change the selected option of a disabled Flounder (e.g. setByValue) then refs.selectedDisplayed loses classes.DISABLED.
Wanted
Don’t add redundant classes.DISABLED to refs.selectedDisplayed. (Unless there’s a good reason that I’m missing?)
Currently
Both the
refs.flounder
div and therefs.selectedDisplayed
div getclasses.DISABLED
when the Flounder is disabled.Problem
It’s redundant to give both divs
classes.DISABLED
sincerefs.selectedDisplayed
is insiderefs.flounder
.What’s more, if you programmatically change the selected option of a disabled Flounder (e.g.
setByValue
) thenrefs.selectedDisplayed
losesclasses.DISABLED
.Wanted
Don’t add redundant
classes.DISABLED
torefs.selectedDisplayed
. (Unless there’s a good reason that I’m missing?)