A simple form like this
<form [formGroup]="myForm">
<mat-form-field class="my-light-field">
<mat-label>Name</mat-label>
<input matInput type="text" [value]="myObj?.name" required readonly/>
</mat-form-field>
</form>
i like to be the field transparent
.my-light-field {
.mdc-text-field--filled{
background-color: transparent !important;
}
}
On hovering over the field, it is getting darker. Is it possible to remove on hover effect? And on focus too...