no autocomplete fields

This commit is contained in:
j 2023-07-09 20:14:05 +05:30
parent bb7fe206d1
commit b3a73dedbf

View file

@ -310,7 +310,7 @@ Ox.Input = function(options, self) {
self.options.disabled && that.gainFocus();
},
input: event => {
if (Ox.contains(['text', 'password'], self.options.type)) {
if (!self.options.autocomplete && Ox.contains(['text', 'password'], self.options.type)) {
change(event)
}
},