Currently, I have created a Blazor Server App .Net 8.0 project using MudBlazor, in the .razor page I have created a MudNumericField
@using System.Globalization
<MudNumericField Immediate="true" Format="#,##0" Culture="@_vn" @bind-Value="_value" />
@code {
public CultureInfo _vn = CultureInfo.GetCultureInfo("vi-VN");
public decimal? _value { get; set; }
}
I have assigned Immediate=”true” to MudNumericField but when entering it still does not insert the thousand separator, only inserts the thousand separator when clicking outside the input box.
If anyone has encountered the same situation as me and knows how to fix it, please help me. Thank you everyone.