input event breaks input change event for input fields with onchange handlers

This commit is contained in:
j 2023-07-12 13:31:11 +05:30
parent cf3f3c4103
commit 4189c740b5

View file

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