Closed conor-cafferkey-sociomantic closed 6 years ago
When extraClass is specified for a given option, that class gets added to both that option’s div in the dropdown and the refs.selectedDisplayed div.
extraClass
refs.selectedDisplayed
If the default option (i.e. the first option in the dropdown) is initially selected it doesn’t get the extraClass specified for that option.
Add the extraClass when constructing the refs.selectedDisplayed div in the buildDom() method.
buildDom()
Currently
When
extraClass
is specified for a given option, that class gets added to both that option’s div in the dropdown and therefs.selectedDisplayed
div.Problem
If the default option (i.e. the first option in the dropdown) is initially selected it doesn’t get the
extraClass
specified for that option.Wanted
Add the
extraClass
when constructing therefs.selectedDisplayed
div in thebuildDom()
method.