Changing color of Select

Hi,

I have a requirement in my project wherein I have to highlight invalid data in Select.
The data which was previously selected by user, may become invalid in future and when it is accessed for update, it must be marked as invalid.
For this, I tried by applying a style which sets the Select background color to red.
But this did not seem to affect its color.

I have to either change the Select’s color to red or change the color of particular item to red.

Can you please tell me how I can go about this?

Thanks in advance.

Hi!

I’m not sure, can you hilight an invalid item in the menu of the ComboBox (select), but you could add a stylename to the ComboBox when the value is invalid, and then using the rule


.v-filterselect-invalid input.v-filterselect-input {
  /* Here, disable the background image first and set the background-color or better would be to create your own red background image */
}