websemantics / Image-Select

Image Select is an extension of Chosen, a jQuery plugin that makes long, unwieldy select boxes much more user-friendly. It provides image support for Single and Multi select HTML tags.
http://websemantics.github.io/Image-Select
MIT License
147 stars 43 forks source link

Optgroup: not working properly. #30

Closed NiMusco closed 8 years ago

NiMusco commented 8 years ago

It displays the first group correctly, after that, the Optgroup take the picture and label of the first child.

This: Blue {t} Twitter {f} Facebook Red {y} Youtube

Becomes: Blue {t} Twitter {f} Facebook {y} Youtube {y} Youtube

Hope it helps.

websemantics commented 8 years ago

You're right, the plugin didn't support Optgroup tag Now this should work, Check an example, http://websemantics.github.io/Image-Select/example.html