Maximum and minimum change culture without notice

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 18.1.0.48


4 Replies

SS Sridevi Sivakumar Syncfusion Team July 20, 2021 01:11 PM UTC

Hi Lolo Rodri,

Greetings from Syncfusion.

We checked the reported issue [UWP] Typed numeric text not displayed when set Spanish culture and min, max value
 and we have logged a bug report for this issue. You can keep track of the bug from the feedback portal below.

Link: https://www.syncfusion.com/feedback/27193

The provided feedback link is private, and you need to login to view this feedback.

We will include the fix in the next weekly NuGet which is expected to be released on August 3, 2021.

If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.

Regards, 
Sridevi S.    
 



LR Lolo Rodri July 21, 2021 06:23 AM UTC

Good morning Sridevi,


This occurs not only in UWP, I test in Android too. The solution will work with others platforms (Android and iOS), right?


Regards



SS Sridevi Sivakumar Syncfusion Team July 22, 2021 08:49 AM UTC

Hi Lolo Rodri,

We have tested the reported issue in v18.1.0.48 and the latest SfNumericTextBox version (19.2.0.48in three platforms and found that it is reproduced only in UWP. Please find the tested sample and video from the below link.

Sample link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/NumericSample_(1)-1927342377

Video link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Video1303051546


Can you please check your application with our latest NuGet and confirm us whether the issue resolved or not in latest version.? If it is working with latest version, then please upgrade the nuget package.

Regards,
Sridevi S.
 



SS Sridevi Sivakumar Syncfusion Team July 27, 2021 03:45 PM UTC

Hi Lolo Rodri,

We have fixed the “
[UWP] Typed numeric text not displayed when set Spanish culture and min, max value” issue and the fix is included in our weekly NuGet of July 27, 2021.

NuGet Version: 19.2.0.49

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards,
Sridevi S.
 


Loader.
Up arrow icon