Wrong Maximum and Minimum check with different Cultures


Good morning,

I was adding a SfNumericTextBox with the following configuration:

            SfNumericTextBox entry = new SfNumericTextBox

            {

                HorizontalOptions = LayoutOptions.CenterAndExpand,

                VerticalOptions = LayoutOptions.CenterAndExpand,

                WidthRequest = 250d,

                IsEnabled = true,

                Minimum = item.MinValue,

                Maximum = item.MaxValue,

                TextAlignment = TextAlignment.Center,

                MaximumNumberDecimalDigits = item.Type == EnumType.Integer ? 0 : 6

            };

(Min: -100 Max: 100)

When I assign the value (4.1234) in Spanish Culture (4,1234), control checks the number between Max and Min. To check it, control takes the value (4,1234) for validation but it thinks that this numbers is in no Spanish Culture so it set value to 100 (because 41234 > 100). Also I try with other values and when control finish validation Min-Max it returns value in no Spanish Culture when I assigned with Spanish Culture. 

If I quit Maximum and Minium from control configuration the culture value works, so I guess is something related to that.

What can I do?

My SfNumericTextBox's version is 19.2.0.44


1 Reply 1 reply marked as answer

ET Eswaran Thirugnanasambandam Syncfusion Team September 24, 2021 11:02 AM UTC

Hi Lolo Rodri, 
 
Greetings from Syncfusion. 
 
As we have informed in the forum (169392), the reported issue has been fixed and included in the Syncfusion version 19.2.0.49. So, please upgrade the NuGet to v19.2.0.49 or a higher version on your side to resolve the reported issue.  
 
Regards, 
Eswaran.

Marked as answer
Loader.
Up arrow icon