Is there any way to remove the outline borders of a Material Textbox without using Ng deep and affecting other components?
I need to remove the borders below without impacting other components on the page
Learn how to remove the corner radius of the mat-form-field border outline
https://i.sstatic.net/rBI3s.png
::ng-deep div.mat-form-field-outline-start{
border-color: 0 !important;
border-width: 0px !important;
}
::ng-deep .mat-form-field-outline-gap{
border-color: 0 !important;
border-width: 0px !important;
}
::ng-deep .mat-form-field-outline-end{
border-color: 0 !important;
border-width: 0px !important;
}
Currently utilizing the outline style for material textboxes,
<div class="input-wrap">
<mat-form-field appearance = "outline">
<input matInput test >
</mat-form-field>
</div>