As a newcomer to Angular, I am facing a challenge that has left me unable to find a solution.
Below is the code snippet in question:
<mat-form-field>
<input matInput placeholder="ZIP" style="color:red;">
</mat-form-field>
I intended for the word ZIP to be displayed in red font color, but despite my efforts, all I see is a red cursor and the word zip remains grayed out. This issue only seems to occur when using matInput, as it works fine with regular input elements.
If anyone has any insights on how to resolve this problem, your help would be greatly appreciated!
Thank you in advance!