Hi there
I'm removing a DynamicForm and adding a new one to a HLayout.
After removing it seems a wrong event is triggered
This only happens in Internet Explorer. I can reproduce this behaviour with IE 11 (with latest update), but it also was reported with IE 9.
This is a major issue for us. We are using this select and the shown event at a very cusomizable part of our application.
IE11:

All works finde with all the Current version of Firefox:

Problem does occur with SmartClient_v101p_2016-03-10_Pro
but not with SmartClient_v101p_2016-03-03_Pro.
This is the code for reproduction.
Best regards
I'm removing a DynamicForm and adding a new one to a HLayout.
After removing it seems a wrong event is triggered
This only happens in Internet Explorer. I can reproduce this behaviour with IE 11 (with latest update), but it also was reported with IE 9.
This is a major issue for us. We are using this select and the shown event at a very cusomizable part of our application.
IE11:
All works finde with all the Current version of Firefox:
Problem does occur with SmartClient_v101p_2016-03-10_Pro
but not with SmartClient_v101p_2016-03-03_Pro.
This is the code for reproduction.
Code:
function changeForm() {
isc.showPrompt("...");
setTimeout(function () {
theLayout.removeMember("theForm1");
theLayout.addMember(isc.DynamicForm.create({
"ID" : "theForm2",
"fields" :
[{
"ID" : "theSelect2",
"changed" : function (p1, p2, p3) {},
"name" : "theSelect2",
"title" : "Typ",
"type" : "select",
"valueMap" : {
1 : "Boolean",
2 : "Date"
}
}
],
"values" : {
"theSelect2" : 2,
}
}));
isc.clearPrompt();
}, 2000);
}
isc.Button.create({
"ID" : "a",
"click" : function () {
theLayout.addMember(isc.DynamicForm.create({
"ID" : "theForm1",
"fields" :
[{
"ID" : "theSelect1",
"changed" : function (p1, p2, p3) {
changeForm();
},
"name" : "theSelect1",
"title" : "Typ",
"type" : "select",
"valueMap" : {
1 : "Boolean",
2 : "Date",
}
}
],
"values" : {
"theSelect1" : 1,
}
}));
},
"title" : "Action 1",
});
isc.HLayout.create({
"ID" : "theLayout",
top : "50",
width : "100%",
height : "300"
});
Comment