我正在开发一个角度应用程序,其中我有一个 matInput,我试图在 matInput 的占位符中显示一个图标。我尝试使用的字体真棒图标是 info-circle My Code
<mat-form-field>
<input matInput
class = "fas"
placeholder= "Default Value"
[(ngModel)]="Value"
style="font-family: Arial, 'Font Awesome'">
</mat-form-field>
我已经交叉检查了图标代码及其正确性。我不确定出了什么问题。