-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
HTML text in "title" will only render in "multiple" -mode #1440
Comments
Here's my fix for title/placeholder issue ... did not test with a glyph. Do a search for ... if ($opt.attr('selected') === undefined && $opt.prop('selected') === false) {
titleOption.selected = true;
} change to ... if ($opt.attr('selected') === undefined) {
titleOption.selected = true;
} |
+1 |
I've tested out this fix, and title will still only render in multiple mode |
Can you link me to an example? It's working for me: https://plnkr.co/edit/TNBGUVxbimIwQUXXZ4fU?p=preview. Are you sure you're trying the latest version in master? This isn't part of an official release yet. |
avantika-gupta-jtg
pushed a commit
to JoshLabs/bootstrap-select
that referenced
this issue
May 14, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to embed an image (glyphicon) for the "Custom button text". When I choose for "multiple" this works perfect, however, I want to select a single option and that will render the HTML as text...
See fiddle: https://jsfiddle.net/jefvhal/n1mv5jcy/
The text was updated successfully, but these errors were encountered: