EasyUI Forum

General Category => Bug Report => Topic started by: korenanzo on April 26, 2016, 02:45:19 AM



Title: disabling textbox when they have focus doesn't remove -focused classes
Post by: korenanzo on April 26, 2016, 02:45:19 AM
Hi,

I've noticed that if you disable a textfield while it has the focus ( and no other field gets focus) the field maintains the "focused" characteristics ; in particular: class textbox-focused

http://code.reloado.com/oeasyrikfocus/edit#source

I think a disabled field should not be "focused"; instead, it should lose it , if have

RIc


Title: Re: disabling textbox when they have focus doesn't remove -focused classes
Post by: jarry on April 27, 2016, 01:22:07 AM
Please try to download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.4.5-patch.zip.


Title: Re: disabling textbox when they have focus doesn't remove -focused classes
Post by: korenanzo on April 27, 2016, 01:37:30 AM
using the full patch I get an error when use combobox

on line 149,
opt.view does not exists


Title: Re: disabling textbox when they have focus doesn't remove -focused classes
Post by: jarry on April 27, 2016, 01:45:27 AM
This is the patch for the version 1.4.5. Please update your EasyUI to the newest version 1.4.5.