From bb7fe206d13341b8d6f42d82bc0a75d5a1befa16 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 9 Jul 2023 16:40:05 +0530 Subject: [PATCH] trigger change for text/password, fixes login and does not break annotations --- source/UI/js/Form/Input.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/UI/js/Form/Input.js b/source/UI/js/Form/Input.js index bce4e153..502675b4 100644 --- a/source/UI/js/Form/Input.js +++ b/source/UI/js/Form/Input.js @@ -309,6 +309,11 @@ Ox.Input = function(options, self) { click: function() { self.options.disabled && that.gainFocus(); }, + input: event => { + if (Ox.contains(['text', 'password'], self.options.type)) { + change(event) + } + }, blur: blur, change: change, focus: focus