I'm using the Bootstrap v3 Telerik MVC theme. Can I style the text box Placeholders and dropdown list OptionLabels to have the same default placeholder color? Right now the defaults for Placeholders are gray and the defaults for OptionLabels are black.
4 Answers, 1 is accepted
When the value of dropdownlist is equal to the option label we don't mark it in any special way. You could, however, hook to dataBound and changeEvent and perform the marking there. You also need a bit of styling. I've created a simple dojo that shows one way of doing it: https://dojo.telerik.com/@joneff/aXugAY.
It seems to work in Chrome, but not IE11. Do you know if there is similar styling for IE11?
Regardless, thanks for your response; I'll mark it as answered!
IE 11 does not recognize the ::placeholder selector and discards the entire rule. You could, however, add another rule to target IE 11 like so:
I've updated the original snippet to include those styles