mousemke / flounder

Style-able dropdown replacement for native dropdowns
MIT License
9 stars 10 forks source link

Option extraClass should also be alongside SELECTED_DISPLAYED #124

Closed conor-cafferkey-sociomantic closed 7 years ago

conor-cafferkey-sociomantic commented 7 years ago

Problem

When extraClass is specified for an option, the extra class doesn’t apply when that option is selected.

Currently

extraClass is added to relevant option in dropdown items, but is not added when the option is selected, alongside SELECTED_DISPLAYED.

Wanted

Add extraClass to both instances of the option: in the dropdown list and the selected box.