Disabling autosuggestion on WebView?

前端 未结 8 1019
盖世英雄少女心
盖世英雄少女心 2020-12-10 11:13

I have some HTML text inputs into a WebView, and I need to disable the autosuggetions on these inputs from Android, not from HTML (autocomplete=off).

How can I do th

8条回答
  •  清歌不尽
    2020-12-10 11:26

    If it already has the form data then setSaveFormData(false) won't stop it from using it. To clear the database you may have to do the following:

    WebViewDatabase.getInstance(this).clearFormData();

提交回复
热议问题