Irgi
Irgi

Reputation: 41

Google Chrome 101 on Android shows TAB key on soft keyboard instead of ENTER for HTML input field

I am using Chrome 101 on Android 11. Setting the focus on a HTML input field brings up the soft keyboard. In earlier versions of Chrome, the soft keyboard then had the ENTER key on the lower right: Android Soft Keyboard ENTER key

But now it shows the TAB key instead, for any input form field other than the last one in the form. Android Soft Keyboard TAB key

Is there a way or setting, to change this to always show the ENTER key for input form fields?

Upvotes: 4

Views: 2057

Answers (2)

Lrnt
Lrnt

Reputation: 316

You can fix this using the enterkeyhint attribute, for instance:

<input type="text" enterkeyhint="done"/>

"done" seems the best option, the others give strange behaviour...

Upvotes: 5

Zagrios
Zagrios

Reputation: 71

try to replace

<input type="text"/>

by

<input type="search"/>

Upvotes: 0

Related Questions