trigger change for text/password, fixes login and does not break annotations

This commit is contained in:
j 2023-07-09 16:40:05 +05:30
parent 4f00f0e06c
commit bb7fe206d1

View file

@ -309,6 +309,11 @@ Ox.Input = function(options, self) {
click: function() { click: function() {
self.options.disabled && that.gainFocus(); self.options.disabled && that.gainFocus();
}, },
input: event => {
if (Ox.contains(['text', 'password'], self.options.type)) {
change(event)
}
},
blur: blur, blur: blur,
change: change, change: change,
focus: focus focus: focus