Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: chrome: "This webpage has disabled automatic filling for this form” message in console [Solved]

$
0
0
Hi community,

I got very annoyed with chrome lately as in the console in every data input the above message is shown. The way to solve it is to set explicitly autocomplete="off" on the input.
After some digging around I found that data input properties are set in DataInputBinding.js:
DataInputBinding.prototype._buildDOMContent = function () {
....
this.shadowTree.input.setAttribute("autocomplete", "off");

if (this.spellcheck...
As far as I could see autocomplete is not enabled within the console so setting the property without any checking is safe I guess. If not you have to modify the Composite.Core.WebClient.UiControlLib.DataInput class and wrap the autocomplete property setting in the _buildDOMContent function in a value check like the other properties.

I'm a happy coder again.
mzZzl,
JamBo

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>