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
form-control class added to dropdown toggle button #140
Comments
https://github.com/twbs/bootstrap/blob/master/less/forms.less#L116 if you don't need the style of |
I didn't explain myself well. I need the
My only concern here is that the original library, with the bs-select class, is not assigning the form-control class to the button element too. |
I have investigated the whole project. Still can't figure out why I add this line of code. But I think you're right. The |
Thank you! |
In the original bs-select library I noticed that the form-control class is not applied to the generated dropdown toggle button. It is left in the outer div only.
Using this library, if the form-control class is applied to the
element it is automatically applied also to the dropdown toggle button. I found the code for this here:
Can you explain why?
In my project this causes me issues, since it overrides the background of the toggle button. But I guess you had a good reason for this choice.
The text was updated successfully, but these errors were encountered: