There is no predictive text in Phonegap 2.2.0 on Android 4.0.3 with input type = "text"

I have a PhoneGap application with several input type="text" fields. In addition, it has some HTML text fields.

When launching an Android application and entering text into an HTML textarea element, the Android forecast text works fine. However, when I enter text into the input element from type="text" , forecasts are not yet displayed.

I tested this on my HTC Sensation as well as on a Samsung Galaxy II tablet running Android 4.0.3, and the predictive text does not appear on both devices.

This problem can be easily reproduced by adding the input element to the sample application provided by PhoneGap. I tried to remove all css to make sure this was causing my problem, but the problem remained.

Does anyone know how to fix this?

+6
source share
2 answers

I think text prediction depends on the keyboard you use, and not on the type of input. Check your text suggestions in your phone settings.

0
source

I just discovered that this works on iOS:

<input type="text" autocorrect="off" />

Perhaps it can work on Android.

0
source

All Articles