I need to a add an icon from Fontawesome to an option of a selector. It works fine, unless I use optgroup
<select>
<optgroup label="group name">
<option>opt1 </option>
<option>opt2 </option>
</optgroup>
<option>opt3 </option>
<option>opt4 </option>
</select>
Here's JSfiddle.
Any ideas why?