How to put decimal numbers with dot in SFNumerixTextBox

I have a SfNumericTextBox in SfTextInoutLayout. The xaml code is as below and in that condition 0,85 is OK for input. But if I touch the dot, the app goes to crashed. How to prevent such a condition in that box.  Thank in advance. 

                    <inputLayout:SfTextInputLayout

                        Grid.Row="3"

                        Grid.Column="1"

                        Hint="Aylık Kredi Faizi"

                        Style="{StaticResource SfTextInputLayoutStyle}"> 

                        <numericBox:SfNumericTextBox

                            MaximumNumberDecimalDigits="2"

                            Style="{StaticResource SfNumericBoxStyle}"

                            PercentDisplayMode="Value"

                            Value="{Binding InterestRate}" />

                    </inputLayout:SfTextInputLayout>


3 Replies

AS Anandraj Selvam Syncfusion Team June 16, 2020 12:43 PM UTC

Hi Samet,  
  
Greetings from the Syncfusion.  
  
From our track of records, we have faced the similar issue but that has been fixed already and the fix is also available in our latest version. 
  
Could you please assure us by upgrading to the latest Nuget version (18.1.0.57) works fine? If the issue still exists, please provide with more details like 
 
·       Complete stack trace of the reported issue since without knowing the type of exception, it is too complex to check at our end. 
 
·       We have checked the same with French, European culture. Please share us the used culture and whether you have set the entire application culture and make it update from CultureInfo property of Numeric control. 
  
It will help us to provide better solution at the earliest 
  
Regards, 
Anand Raj S. 



SG Samet Girgin June 17, 2020 02:55 PM UTC

Hi! 
In advance, thanks for immediate return. As you declared, my Syncfusion Nuget Package was 18.1.0.44 and update it to the last built version. However, I encountered the same bug. I am OK to get the value with comma but if a user entered dot (.) on purpose or accidentally, the app is crashed and return System.FormatStringException "Input string was not in a correct format." I also shared the xaml of the textbox and the style code below 








AS Anandraj Selvam Syncfusion Team June 18, 2020 12:03 PM UTC

Hi Samet,   
   
Thanks for your update.   
   
Under your account, we have created a support incident to track the status of this reported issue. Please log on to our support website to check for further updates.  
  
  
Regards,  
Anand Raj S. 


Loader.
Up arrow icon