-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Displaying icons in options list #79
Comments
You need to make a couple of changes but you should be able to use this, I created to it to use bootstrap badges. When you create your select options, you add You then need to change a few things in nice-select.js:
and also update the create function
|
yo hice lo mismo pero reconociendo el data-html en la etiqueta del option y cambia las funciones
espero que te sirva |
Hi!
My Option 1 My Option 2Thank you first of all for this great work and for sharing it.
I'm just getting a hard time trying to add icons to the options.
None of these will work :
Is there any way to display icons from font awesome or glyphicons at the left of an option element?
Thank you by advance for your help
All the best
Aurelien
The text was updated successfully, but these errors were encountered: