EasyUI Forum

General Category => Bug Report => Topic started by: hunsin360 on July 17, 2015, 07:46:31 AM



Title: Can't disable dialog buttons
Post by: hunsin360 on July 17, 2015, 07:46:31 AM
I just tried out version 1.43 and something big changed with dialog toolbars and buttons.  For example, I used to be able to define a dialog button and give it an id:

...
buttons: [{
   text: 'My Button',
   id: 'mybutton'
}]

And then disable or enable it programmatically:

$('#mybutton').linkbutton('disable');

This no longer works and it's a big step backwards.


Title: Re: Can't disable dialog buttons
Post by: jarry on July 17, 2015, 03:52:56 PM
Please refer to http://www.jeasyui.com/forum/index.php?topic=5038.0