我使用 Angular2+、Angular-material 和 ngx-intl-tel。
我有 ngx-intl-tel-input:
<div>
<ngx-intl-tel-input
[attribute1]="..." [attribute2]="...">
</ngx-intl-tel-input>
</div>
我需要在 ngx-intl-tel-input 上显示标签以达到类似于:
<mat-form-field appearance="outline" floatLabel="always" hideRequiredMarker>
<mat-label>label</mat-label>
<input matInput formControlName="name" required>
</mat-form-field>
我怎样才能做到这一点?