https://blazor.syncfusion.com/documentation/input-mask/getting-started/

Original Text Field

<SfTextBox @bind-Value="@(this.Customer.Phone)" Readonly="true"></SfTextBox>

Phone Number

<SfMaskedTextBox Mask="(000) 000-0000" @bind-Value="@(this.Customer.Phone)"></SfMaskedTextBox>
<SfMaskedTextBox Mask='000-000-0000'></SfMaskedTextBox>
<SfMaskedTextBox Mask='(000) 000-0000'></SfMaskedTextBox>
Last modified: October 24, 2021

Author

Comments

Write a Reply or Comment