You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems impossible to edit a NumericEdit with decimal numbers. When trying to type 1.2 the value will be changed to 12.
This behavior occurs, when binding the value with "bind-Value". When binding with "Value" then one can edit the number with ".".
Also at the start, the value will be shown with comma instead of point as separator.
So it seems, that here the formatting of the number will be done by the culture of the browser/system and not by the setting "DecimalsSeparator" (in my case I have german as my system culture).
To make it work I had to add support for lang attribute. So when defining the NumericEdit it also have to be defined. If left undefined it will fallback to CultureInfo.InvariantCulture. It acts more as a hint for Blazorise so it can know how to format the entered value.
today I updated Visual Studio, so that I now have netcore 3.1, which is necessary for blazories 0.8.7.1.
then I tried your example, but I still have the same issues with NumericEdit. (I use Chrome 78.0.3904.108). Has anybody any hints, what can be wrong?
It seems impossible to edit a NumericEdit with decimal numbers. When trying to type 1.2 the value will be changed to 12.
This behavior occurs, when binding the value with "bind-Value". When binding with "Value" then one can edit the number with ".".
Also at the start, the value will be shown with comma instead of point as separator.
So it seems, that here the formatting of the number will be done by the culture of the browser/system and not by the setting "DecimalsSeparator" (in my case I have german as my system culture).
here is my example code:
The text was updated successfully, but these errors were encountered: