From 4189c740b5a974481e2228ee5b4eaefc2f22481f Mon Sep 17 00:00:00 2001 From: j Date: Wed, 12 Jul 2023 13:31:11 +0530 Subject: [PATCH] input event breaks input change event for input fields with onchange handlers --- source/UI/js/Form/Input.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/UI/js/Form/Input.js b/source/UI/js/Form/Input.js index 09ad1887..488f042b 100644 --- a/source/UI/js/Form/Input.js +++ b/source/UI/js/Form/Input.js @@ -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,