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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to resolve missing decimal point issue on Samsung Devices (S6, S8) numeric keyboard in DataForm ?

Platform: Xamarin.Forms |
Control: SfDataForm

When using virtual numeric keyboard in DataForm, decimal point is missing on Samsung S6 and S8 device’s numeric keyboard. This issue occurs due to Samsung devices S6 and S8 numeric KeyBoard.


Please find the following discussions about issue with numeric keyboard in Samsung devices:






This article explains the workaround “to show the decimal point” on virtual numeric keyboard in Samsung devices (S6, S8) by customizing the KeyListener settings in custom renderer in Xamarin.Forms Android platform.


Add custom editor in DataForm to customize native control renderer settings to show the decimal point in numeric keyboard.


Here, the Salary data field is used as custom editor.



By passing custom view in DataFormEditor, you can add custom editor to data form. Refer to this data form user guide documentation to creating a new custom editor.


Here, the SfNumericTextBox is loaded for custom numeric textbox editor.



The custom view (SfNumericTextBox) property settings, custom editor value commit, data validation can be handled by overriding the required methods in the DataFormEditor class. Refer to this KB article for more details.


Refer to the following code example for binding the DataObject and adding custom editor as SfNumericTextBox editor using the RegisterEditor method in data form.



In Android Renderer:


Return the DigitsKeyListener that accepts the digits 0 to 9 and dot (.) in native control KeyListener to show the decimal point in virtual numeric keyboard.



Example: NumericKeyBoardDecimalPoint

2X faster development

The ultimate Xamarin UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile