Closed ghost closed 12 years ago
Found this issue as well. Only happens with the top two options. Tested in current versions of Firefox and Chrome.
Fixed in this pull request: https://github.com/sparkbox/Custom-Selectbox/pull/8
If I take similar words it adds class SELECTED to both. Here is a code:
<select class="sparkbox-custom">
<option value="1">Chrome</option>
<option value="2">Safari Chrome</option>
<option value="3">Firefox</option>
<option value="4">IE 9</option>
</select>
If you select 1st value, 1st and 2nd both will be selected.
https://github.com/sparkbox/Custom-Selectbox/issues/8 doesn't help. Can anyone please suggest me the solution?
If within options there is same words it gets class .selected try example below and you'll see that both first options will be selected.