-->

How do you remove the Next and Prev buttons from v

2019-02-13 16:58发布

问题:

So I have this Phonegap application built using Sencha Touch. I have a textarea control for users to type in some information. When the box gets focus it brings up the virtual keyboard. But the virtual keyboard has next previous and done buttons on it.

How to I remove the next and previous buttons? They don't seem to do anything anyway.

回答1:

There is a way!! This guy has done it by making modifications in the AppDelegate.m. You can find description at this link under bonus code section. You can also refer the code for same developed by Kerri Shotts Code Here

Now that the done button is gone i am trying to figure out how to make the keyboard disappear. This will be everybody's next step.



回答2:

The previous next are for tabbing to previous or next fields on the page. It has a name and is called "Form Assistant", I think it's default to Safari, and PhoneGap essentially is a wrapper around Safari.

AFAIK , there is no way to remove it. Of course, the previous next buttons get disabled, if there is only one field as it's seems to be in your case

EDIT: As from the new comments, it seems there's a way in the new PhoneGap versions. FYI



回答3:

you can try this Plugin Created By don. to show/hide keyboard toolbar.

It worked like charm from my side.