angularangular-ngselect

ng-select change color on disabled state for items in the option list angular


I am trying to style the disabled state for a list of options, using ng-select in Angular.

What is the css class of ng-select for disabled state?


Solution

  • ng-select-disabled
    

    Example of usage:

    .ng-select-disabled > .ng-select-container {
      color: red;
    }
    

    Haven't tried, but it may also work just:

    .ng-select-disabled {
      color: red;
    }