Just take a look to the image:

Basically, I want to change/remove the background color (the gray one) on this mat-option element. I also tried with the browser inspector in order to find the class that has the background-color line, but I couldn't find nothing.
Any idea?
You'll need to either:
::ng-deep .mat-form-field-appearance-fill .mat-form-field-flex {
background-color: #fff;
}
You can try:
.mat-form-field-appearance-fill .mat-form-field-flex {
background-color: red;
}
That did the trick for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With