trigger change for text/password, fixes login and does not break annotations
This commit is contained in:
parent
4f00f0e06c
commit
bb7fe206d1
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue