-
-
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
Placeholder color #1139
Comments
+1 |
I don't see a way to do that without modifying bootstrap. But by adding a class to the button, users can choose to style bootstrap-select the same way they style other form elements. |
…when no option is selected.
…when no option is selected.
+1 with some addition: If an option is already selected (select has value), but then the user later selects an option with no value (tipically the first, blank option), than the select should be showing again the placeholder text with it's custom placeholder color (instead of showing empty text like it does now). <select class="selectpicker" title="Choose a city">
<option></option> {* show the placeholder title when this is selected *}
<option value="1">Budapest</option>
<option value="2">London</option>
<option value="3">Paris</option>
</select> |
+1 |
In the past I've got this feature with a one-liner in the render function.
It was placed right above Default Bootstrap placeholder is color is No Pull request because it has a small bug on initial page load when one uses the |
I love it! @caseyjhol |
Hello,
When I set the title from the select and add an empty element the combobox displays the placeholder(tittle). This is desirable. But the color from the placeholder is not the wright color. It should be the color that is defined in bootstrap/css file.
Is there a solution to this problem or is this a bug?
The text was updated successfully, but these errors were encountered: