underline input field when typing
Asked Answered
B

2

7

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?

Biparous answered 8/10, 2013 at 15:21 Comment(1)
It might have something to do with being default behavior for a search field - I'm not sure you should want it to go away.Deangelis
B
1

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"

Bushed answered 29/9, 2015 at 14:50 Comment(0)
A
-1

Have you tried adding css to make sure it doesn't do that?

text-decoration: none;
Arturoartus answered 29/9, 2015 at 14:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.