diff --git a/source/Ox.UI/js/Form/Input.js b/source/Ox.UI/js/Form/Input.js index 922fc116..26a674a9 100644 --- a/source/Ox.UI/js/Form/Input.js +++ b/source/Ox.UI/js/Form/Input.js @@ -294,6 +294,12 @@ Ox.Input = function(options, self) { }) .appendTo(that); + if (self.bindKeyboard) { + self.$input.on({ + paste: keydown + }); + } + if (self.options.type == 'textarea') { Ox.Log('Form', 'TEXTAREA', self.options.width, self.options.height, '...', that.css('width'), that.css('height'), '...', self.$input.css('width'), self.$input.css('height'), '...', self.$input.css('border')) } @@ -826,7 +832,7 @@ Ox.Input = function(options, self) { change: {value: self.options.value} }); } - }, 0); + }); } if ( (event.keyCode == 38 || event.keyCode == 40) // up/down