We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Comma as decimal separator

Hello,

I'm facing problems using SfNumericTextBox on iOS devices w/ pt-BR keyboards. Your control allows me only to use "," at the begining of the number but not after that. Mind that pt-BR numeric keyboard doesn't have period key.

Regards,

Diego

3 Replies

PK Pavendhan Kumar Syncfusion Team November 25, 2016 12:42 PM UTC

Hi Diego,

Thank for contacting Syncfusion support.

Query 1: SfNumericTextBox allows to enter "," at the beginning of the number only.

For "pt-BR" culture "," separator is considered as a decimal point (We can add only one decimal point for a number). We can add that decimal point anywhere in the number, SfNumericTextBox will not block you to enter. We have recorded a video footage for your convenience please download the same from the below link.

Link: https://www.syncfusion.com/downloads/support/forum/127578/ze/NumerictextBox_ptBR-1469884551 

Query 2: For "pt-BR" culture keyboard does not have period key.

We have prepared a sample using SfNumericTextBox and Xamarin.Forms Entry to replicate the mentioned behavior. While editing both the fields the keyboard does not contain period key. Please download the same from the following link.

Link: https://www.syncfusion.com/downloads/support/forum/127578/ze/NumericTextBoxSimple_ptBR-1169363980 

Note:
We have changed our device region to "Portugal".

Regards,
Pavendhan K.
 



DV Diego Velazquez November 25, 2016 01:57 PM UTC

Hello,

I'm using XF 2.3.3, Xamarin.VisualStudio_4.2.1.64, iPhone SE iOS 10.1 (14B72) and SyncFusion 14.4.0.15.

Your sample doesn't work with Portuguese or Brazillian-Portuguese.

Best regards,

Diego


PK Pavendhan Kumar Syncfusion Team November 28, 2016 12:27 PM UTC

Hi Diego,

Sorry for the inconvenience caused.

We were able to reproduce the reported issue "NumericTextBox did not show Comma as decimal separator when culture is 'pt-BR'" at our end. We have logged a bug report for the same. A support incident to track the status of this defect has been created under your account.

Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/  

Regards,
Pavendhan K. 


Loader.
Live Chat Icon For mobile
Up arrow icon