After updating the version of IntelliJ, I noticed that the ::ng-deep angular material selector is now marked as deprecated.
Here's an example:
<mat-form-field class="register-custom-select">
<mat-select formControlName="gender" required>
<mat-option class="register-custom-option" *ngFor="let gender of genders
[value]="gender.genderValue">
{{ gender.genderValue }}
</mat-option>
</mat-select>
</mat-form-field>
::ng-deep .register-custom-select .mat-form-field-underline {
background-color: #838383;
}
What steps should I follow to address the deprecation warning for the selector while maintaining the style?