Turning off auto-complete for textarea and inputfields in Android Cordova-app

前端 未结 3 2067
旧巷少年郎
旧巷少年郎 2020-12-06 18:59

I\'m working on an Android app (2.3.3) using Cordova (1.9.0), html5, javascript.

It\'s a language training tool so when users type their answers in textareas or inpu

相关标签:
3条回答
  • 2020-12-06 19:36

    I Just discovered it!, it's so easy!, just put into the input: name="password" Just it!

    0 讨论(0)
  • 2020-12-06 19:42

    try android:inputType="textNoSuggestions" in you EditText

    0 讨论(0)
  • 2020-12-06 19:49

    Up until at least Android 4.4 in cordova apps, the html5 attribute autocomplete="off" as described above does not have any effect. However on Android 6 the autocomplete="off" does work!

    So it depends on the Android version, not the html.

    (This is a cordova 5.1.1 android platform, in case anyone is wondering)

    0 讨论(0)
提交回复
热议问题