0
I have these two fields, phone and zip code, where I would like to put mask, but as I started using angular a short time, I do not know, and I found nothing explanatory on the internet, that would help me.
<mat-form-field class="input-full-widthmetade">
<input #telefone="ngModel" [(ngModel)]="fornecedor.telefone" matInput placeholder="Telefone"
id="telefone" name="telefone">
</mat-form-field>
<mat-form-field class="input-full-widthmedade">
<input #cep="ngModel" [(ngModel)]="fornecedor.cep" matInput placeholder="CEP"
id="cep" name="cep">
</mat-form-field>
How do I put mask on these inputs ? Thank you.
Use some Component part for Angular, have a lot to make mask.
– LeAndrade