Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

underline input field when typing

I have an input field that is displaying an underline when I start typing text. This is not the autocorrect underline but a black underline as I have tried disabling auto-complete and spellcheck. This only appears on android jelly bean phones.

<input type="search" id="searchInput" class="searchInput" placeholder="placeholder" />

underline

I have removed all css from the input tag and nothing I do will disable this underlining.

As soon as i remove focus from the input field the underlining goes away.

Any idea how to prevent this?

like image 567
John S Avatar asked Oct 08 '13 15:10

John S


1 Answers

I believe your issue is the autocomplete feature built into the phone, not based on a webpage setting try something like this:

Simply go into Settings > Language & input > Android keyboard settings > Advanced settings > and uncheck "Next word prediction"

like image 125
rockmandew Avatar answered Oct 06 '22 19:10

rockmandew