-
-
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
Unable to set iconBase and tickIcon using data attributes #1860
Comments
This will work friend: Use this code when initialising your select pickers. Remember pretty much any option you set on the |
Here are all the default options so you can see what else you can set :)
|
You need to use snake case, not camel case. e.g data-icon-base, data-tick-icon. |
Thanks caseyjhol, that is not clear at all from the documentation. |
I'm trying to set
iconBase
andtickIcon
using data attributes, but it doesn't work. What am I doing wrong?<select class="selectpicker show-tick" data-iconBase="fa" data-tickIcon="fa-check" title="choose" multiple></select>
The text was updated successfully, but these errors were encountered: