harvesthq/chosen — Issue #399: Can I put markup in my dropdown?
Author: GNi33
Created: 2011-12-13 16:22:55+00:00
State: open

I somehow need to get a span into my dropdown-list, for styling additional information for a list-item. So I just add "markers" in my option value of my select list and replace them with in the initialisation process of chosen.

This works, altough it's not very nice and the search seems to be getting confused trough this. The right search result is highlighted, but the other values aren't getting hidden anymore.

So, I'm asking this here:
Is there a nice way in chosen to get some additional markup into my dropdown list?