micc83 / fontIconPicker

🌈 jQuery fontIconPicker v2 is a small (3.22kb gzipped) jQuery plugin which allows you to include a simple icon picker with search and pagination inside your administration forms.
http://micc83.github.io/fontIconPicker/
MIT License
266 stars 87 forks source link

Wrong value set when the select value is emptyIconValue and emptyIconValue is not "" #7

Closed swashata closed 10 years ago

swashata commented 10 years ago

Already working on a solution. Will fix in 2.1.0 branch.

danyj commented 8 years ago

This is not right https://github.com/micc83/fontIconPicker/blob/2.1.0/jquery.fonticonpicker.js#L672

it is setting the selected icon to empty on category change without user selecting an icon.

if emptyIcon is set to false than it is resetting the selected icon to the first icon in the category, again without user clicking on any icons