0

I am using ngx-select-dropdown for angular project. my config is

{ 'search': true, 'placeholder': "Select", "searchPlaceholder": "search", 'noResultsFound': 'No results found!', 'clearOnSelection': true, 'height': '150px' };

what i have right now is below

enter image description here

what i want to achieve is

enter image description here

i want to change color of default value of placeholder "Select" to gray. instead of default color. for all other value selected should be default color and if user deselects all value and "Select" placeholder comes once again, then it should be back to gray.

How will I be able to achieve it.

Thanks in Advance!

young_minds1
  • 1,181
  • 3
  • 10
  • 25

1 Answers1

0

Here is a demo for ngx-select-dropdown: https://manishjanky.github.io/ngx-select-dropdown/

In the photo that I have attached, you can see in the right place what is the class that you should use to apply the color.image

lala
  • 1
  • 1
  • Thanks for the answer. but thing you are suggesting is easy to do. it will be red for all the values. I want red only in case select is there in the dropdown which is place holder. which comes if all the values are deselected. – young_minds1 Feb 10 '21 at 11:09