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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfNumericTextBox v16.4.0.42 Is Not Influencing "Next" Button On Keyboard When Focus Changes

Thread ID:

Created:

Updated:

Platform:

Replies:

141611 Dec 20,2018 03:45 PM UTC Dec 24,2018 12:10 PM UTC Xamarin.Forms 3
loading
Tags: SfNumericTextBox
Paul Parkins
Asked On December 20, 2018 03:45 PM UTC

Hi,
I am developing an Android application using Xamarin.Forms and Syncfusion components. Until earlier today I was using Syncfusion v16.3.0.36. 

I have a page with several SfNumericTextBox controls on it (not all of which will always be visible). What I found with this version of control is that if I have 3 visible SfNumericTextBoxes (say A, B and C in that tab order), when A or B have focus there is a "Next" button on the virtual keyboard which moves focus onto the next control. But if C has focus the "Next" button becomes a "Done" button which causes the keyboard to close (hide). So we had a button on the keyboard which was either Next or Done, depending on whether the current control with focus was the last control or not - nice!

I receive reports that pressing Next on one particular device (running Android 8.1.0) was causing an application crash. When debugging with that device, I identified that a java.lang.IllegalStateException was being raised within an SfNumericTextBox. I further noted that regardless of which control had focus, the button on the keyboard was always "Next" (only on this device), even when the control was the last one. The application did not crash when "Next" was pressed unless the focus control was the last one (in which case there was no next control to focus on, and the button should have been "Done"). Attempting to Next when there was no next control, caused the exception.

As this crash was not in my own code I looked for an Sf update in case that resolved my problem,  and I found that v16.4.0.42 was available. Using this version I now find that the "Next" button is in fact now always a "Done" button, on all devices I have tried.

So in this version we effectively lost the ability to "tab" between controls using the "Next" button. I can confirm my device no longer crashes though (remove the Next button, removes the problem Next'ing)

I can live with this, but thought I'd report my findings as some previous functionality appears to have been lost

Paul P



Dhanasekar R [Syncfusion]
Replied On December 21, 2018 12:10 PM UTC

Hi Paul,

 
Greetings from Syncfusion. 
 
We have validated your query and we can have same type of keyboard in all the platforms. We have customized the keyboard as done for all the platforms in the latest version (16.4.0.42). By using custom renderer, we can customize the keyboard and we can place the next button instead of done button. We have prepared a sample with customer renderer for customizing the keyboard and we have shown the next button instead of done button. Please have the sample from the below link. 
 
 
Please check our sample and let us know if any clarifications on this. 
 
Regards, 
Dhanasekar 


Paul Parkins
Replied On December 21, 2018 01:38 PM UTC

ok thanks, but it was just nice how it worked previously without needing a custom renderer, and without my code having to decide if it should be offering Next or Done. Something's obviously changed in v16.4.x and it seems a backwards step to me.

Dhanasekar R [Syncfusion]
Replied On December 24, 2018 12:10 PM UTC

Hi Paul, 
 
Thanks for your update. 
 
In our previous versions of SfNumerictextBox, we didn’t have unique text (i.e.) we had mixed of “Next” and “Done”. From the version of 16.4.0.42, we have changed this to unique text (i.e.) Done text will be shown for all platforms and all SfNumerictextBox control. So, if you want to keep text as Done, you no need to write any renderer. But if you want to change the text to “Next” or some other text then only you need to use custom renderer. 
 
Please let us know if any further clarifications on this. 
 
Regards, 
Dhanasekar 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

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

;