Autocomplete off

QuestionsAutocomplete off
Alberto asked 7 years ago

Hi,

There is an option to deactivate autocomplete in edit view? I can deactivate in browser's config but I don't want this.

Thanks

6 Answers
Abu Ghufran answered 7 years ago

https://www.google.com/search?q=html+disable+autocomplete

In grid, you can connect it like:
$col["editoptions"]["autocomplete"] = "false";

It will becomes html input attribute.

Alberto answered 7 years ago

Thanks!

Don answered 4 years ago

Hi Abu,

In Firefox this works OK, but in Chrome 80+ still browser-autocomplete shows: https://imgur.com/a/ijSh8bw

Is there any way to solve it?

Abu Ghufran Staff replied 4 years ago

Emailed you an update. Please recheck.

Manuel Torres answered 3 years ago

Hi Abhu,

I have exactly the same problem as above? Can you also email an update? I have purshased v2.6.3

Abu Ghufran Staff replied 3 years ago

Emailed you an update. Please recheck.

Manuel Torres answered 3 years ago

Thanks Abu,

Unfortunately the build you sent me made no difference. After reviewing the info you suggested here: http://stackoverflow.com/questions/12374442/chrome-browser-ignoring-autocomplete-off in this post: https://www.gridphp.com/support/questions/disable-chrome-autofill/

I successfully tried this:

$col[“editoptions”][“autocomplete”] = “any_string”;

Literally if you input any string different than false would work.

The problem I have now is that this works perfectly when you are adding a completely new entry (I.E. clicking on the “+” icon and editing the form of the emerging dialog window) but I couldn’t get rid of autocomplete when editing the grid inline (double clicking the field on the grid)

Any advice for that specific scenario?

Thanks for your great support.

 

 

 

 

Abu Ghufran Staff answered 3 years ago

Hello,

Just to log an update, this issue is fixed now in latest build.

Autocomplete does not show up on inline edit anymore. Chrome ignored “off” value so we have now changed it to a random value using Math.random() using JS.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

7 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?