33
Views
6
Comments
To disable the auto complete option for input fields in IOS app
Application Type
Mobile

We've an form in a mobile app which collects a user details, and we want to disable the auto complete functionality in IOS app, the issue is not seen Android app.

We need a fix for the IOS app.

I tried giving the autocomplete as "off" in the attribute section of the input fields. But didn't work.


Auto-complete.png
2023-04-16 15-25-31
Krishnanand Pathak

Hi @Kush 

You can try:

autocorrect = "off" 

Regards
Krishnanand Pathak

2021-08-05 10-45-37
Kush

Hello @Krishnanand Pathak 

I implemented your fix in the input field's attribute field.
But the issue still persists.

2023-04-16 15-25-31
Krishnanand Pathak

Try to use both attributes together
autocomplete="off" autocorrect="off" 

2021-08-05 10-45-37
Kush
2023-05-16 06-18-07
Aalhad Rangnekar

Hi Kush,
I have had a similar issue and found that Safari tends to ignore the autocomplete property and looks for certain keywords in the id of the input element like "name" or "e-mail". So, I would suggest changing the id property of the input to something that won't trigger the autocomplete. Adding the word "search" to the label or input name can also fix it.

2021-08-05 10-45-37
Kush

Hello @Aalhad Rangnekar 

Can you please elaborate more on the point?
Like what exactly to be done.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.