EasyUI Forum

General Category => Bug Report => Topic started by: codewriter on March 24, 2015, 06:15:03 PM



Title: easyui1.4 textbox ie bug
Post by: codewriter on March 24, 2015, 06:15:03 PM
1. input any word to textbox
2.   focus this textbox
3. change any window  (alt+tab)
4.  return textbox window(alt+tab)
5.  textbox become empty


Title: Re: easyui1.4 textbox ie bug
Post by: aljcn on March 30, 2015, 02:05:41 AM
I have encountered this problem too. hope FOR HELP!


Title: Re: easyui1.4 textbox ie bug
Post by: cescskye on March 31, 2015, 06:47:36 PM
mark~~


Title: Re: easyui1.4 textbox ie bug
Post by: jarry on March 31, 2015, 07:32:00 PM
A possible way to solve this issue is to attach a 'keyup' event to the textbox. When the user press any keys, the textbox accepts the entered characters immediately.
Code:
$('#tt').textbox({
inputEvents: $.extend({}, $.fn.textbox.defaults.inputEvents, {
keyup: function(e){
var t = $(e.data.target);
t.textbox('setValue', t.textbox('getText'));
}
})
})


Title: Re: easyui1.4 textbox ie bug
Post by: cescskye on April 01, 2015, 07:43:43 PM
A possible way to solve this issue is to attach a 'keyup' event to the textbox. When the user press any keys, the textbox accepts the entered characters immediately.
Code:
$('#tt').textbox({
inputEvents: $.extend({}, $.fn.textbox.defaults.inputEvents, {
keyup: function(e){
var t = $(e.data.target);
t.textbox('setValue', t.textbox('getText'));
}
})
})
problem remain ~~


Title: Re: easyui1.4 textbox ie bug
Post by: jarry on April 12, 2015, 07:59:15 PM
Please try to download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.4.2-patch.zip.


Title: Re: easyui1.4 textbox ie bug
Post by: Stefan B. on April 20, 2015, 12:27:34 AM
It works - THX