Hey guys,
I am currently working on a view including a DynamicForm with a ComboBox and second DynamicForm. When trying to reset the ComboBox and hide the second DynamicForm, the Internet Explorer (IE 11, latest Version) will crash.
This is only reproducible when setting the value of the ComboBox twice. For sure this isn’t the way it is supposed to be, but it should not crash either.
Here is my small example for reproducing the crash
When loading the example and pressing the button in an Internet Explorer it will crash.
The crash only appears in Internet Explorers and is not reproducible in Chrome or Firefox.
It was tested with the latest SmartClient nightly(SmartClient_v110p_2016-06-21_Pro)
Best regards
I am currently working on a view including a DynamicForm with a ComboBox and second DynamicForm. When trying to reset the ComboBox and hide the second DynamicForm, the Internet Explorer (IE 11, latest Version) will crash.
This is only reproducible when setting the value of the ComboBox twice. For sure this isn’t the way it is supposed to be, but it should not crash either.
Here is my small example for reproducing the crash
Code:
isc.VLayout.create({ "ID" : "layout", "members" : [isc.DynamicForm.create({ "ID" : "mainDynamicForm", "fields" : [{ "ID" : "comboBoxItem", "type" : "text", "editorType" : "comboBox", "valueMap" : { 1 : "- None -" } } ], "values" : { "comboBoxItem" : 1 } }), isc.DynamicForm.create({ "ID" : "secondDynamicForm", "width" : "100%" }), isc.Button.create({ "ID" : "button", "action" : function () { comboBoxItem.setValue(1); secondDynamicForm.hide(); mainDynamicForm.setCanEdit(true); comboBoxItem.setValueMap({ 1 : "- None -" }); comboBoxItem.selectValue(); comboBoxItem.setValue(1) } }) ] })
The crash only appears in Internet Explorers and is not reproducible in Chrome or Firefox.
It was tested with the latest SmartClient nightly(SmartClient_v110p_2016-06-21_Pro)
Best regards
Comment