There is a note on the documentation page for NumericTextBox saying "The decimal separator is . for the time being. When localization features get implemented in the Telerik UI for Blazor suite... Currency symbols are also rendered by the framework and they come from the current culture as well."
Is that note still relevant?
I made a simple test..
<TelerikNumericTextBox @bind-Value="Number" Format="C"></TelerikNumericTextBox>
@code {
public decimal Number { get; set; } = (decimal)2.59;
protected override void OnInitialized()
{
System.Globalization.CultureInfo.DefaultThreadCurrentCulture = new System.Globalization.CultureInfo("hr-HR");
}
}
The numer in numeric text box is displayed as expected - "2,59 kn" (Notice that it has the correct decimal separator and currency simbol)
When I want to change the number I cannot input "," (comma) as a decimal separator - numericTextBox won't accept it.
So I tried with "." (dot).
I can input "." (dot) but when I enter a number after "." the "." disappears leaving me with an whole number in numericTextBox.
Is this a bug or a missing feature? The note above is confusing because NumericTextBox get's it's formating options from current culture so why doesn't it apply the correct decimal separator?
Thank you