m4r73n
m4r73n

Reputation: 806

Disable iOS 8 QuickType in HTML input field

Is it somehow possible to force iOS 8 to not display the QuickType predictions? With a data attribute, for instance? I already tried autocomplete="off", but without success.

In some cases, it simply doesn't make much sense to display those kind of suggestions, like for address input fields. The predictions then just waste screen space that could be used better otherwise.

Upvotes: 7

Views: 4993

Answers (2)

user3205193
user3205193

Reputation: 151

i put autocapitalize="off" autocomplete="off" autocorrect="off"

and it works.

Upvotes: 14

AstroCB
AstroCB

Reputation: 12367

No. This is on the iOS side: you can't control it via element properties.

Users can disable it themselves by

  1. Swiping down on the menu itself,
  2. Using the international keyboards button (globe icon), or
  3. Disabling it in Settings.

However, there is currently no way to disable it via HTML without changing the input to a type other than text. The autocomplete attribute merely tells the keyboard whether to store previous inputs and recommend those to the user as they're typing.

Upvotes: 0

Related Questions