SO i found an answer. It turns out that, at least in Chrome 30.0.1599.101, a form has to be method="POST"
to be allowed to autofill. So, it doesn't have anything to do with generated or not. Here's a bin, if you try to change the form action
to GET
, Chrome gives you a message about autofill being disabled. If you change it to POST
, it works as expected.
How do I enable autofill in Chrome on a form inserted via javascript
-
29-07-2022 - |
سؤال
I'm getting the message "This website has disabled automatic filling for this form" - but I haven't. It's a form that is inserted via a handlebarsjs template. I have added a method
attribute to the form, as well as autocomplete="on"
on the <form>
and all <input>
s. It has a <button type="submit">
.
I am at my wit's end with this one - any help would be awesome.
المحلول
لا تنتمي إلى StackOverflow