-
-
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
add styleBase option to documentation #2125
Comments
You can use the |
caseyjhol
added a commit
that referenced
this issue
Oct 22, 2018
caseyjhol
changed the title
Suggestion: Bootstrap default styling
add styleBase option to documentation
Oct 22, 2018
Figured it out
|
Released in v1.13.4! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A suggestion to make the default styling match more closely to that of a form input field instead of a button. In the current markup, a button element is being added directly after the select element. This button element has the class btn and btn-light. I tried overriding the style with form-control but the override only replaced the btn-light. The btn class still remained. To make this happen currently you would need the following JavaScript:
$('.selectpicker').selectpicker({ style: 'form-control' }); $('.selectpicker + button').removeClass('btn');
I suggest we alter the style property to replace both the btn and btn-light classes or we just make form-control the default class on the button element. I have attached a screen shot of the two side by side and the code change.
The text was updated successfully, but these errors were encountered: