Description:
When the DynamicForm is disabled, all the fields get also disabled.
When the DynamicForm gets enabled again, the PickTree fields stay disabled (and can not be recovered with setDisabled(false))
It is an obvious bug at my eyes. Fortunately it is also very easy to reproduce.
NOTE: the bug DOES NOT exist on 9.0_20130729, but it exists on all other tested versions.
1. Smartclient versions: 9.0_20130729 / 9.1_20140930 / 10.0_20140930 / 10.0_20141202 all on the LGPL version
2. IE 9-10 / FF 32-34
6. sample code if applicable
You have to simply go to the example of your demo site "PickTree" (http://www.smartclient.com/docs/rele....html#pickTree)
At the end of the code simply add a button (copied from an other example), that enables and disables the DynamicForm. Click the button and you have your self a bug :)
When the DynamicForm is disabled, all the fields get also disabled.
When the DynamicForm gets enabled again, the PickTree fields stay disabled (and can not be recovered with setDisabled(false))
It is an obvious bug at my eyes. Fortunately it is also very easy to reproduce.
NOTE: the bug DOES NOT exist on 9.0_20130729, but it exists on all other tested versions.
1. Smartclient versions: 9.0_20130729 / 9.1_20140930 / 10.0_20140930 / 10.0_20141202 all on the LGPL version
2. IE 9-10 / FF 32-34
6. sample code if applicable
You have to simply go to the example of your demo site "PickTree" (http://www.smartclient.com/docs/rele....html#pickTree)
At the end of the code simply add a button (copied from an other example), that enables and disables the DynamicForm. Click the button and you have your self a bug :)
Code:
isc.Button.create({
title: "Disable All",
width: 120,
left: 190,
top: 45,
click : function () {
if (form .isDisabled()) {
form .enable();
this.setTitle("Disable All");
} else {
form.disable();
this.setTitle("Enable All");
}
}
});