When i call the method “clear();” on my form object, rather than clear all of the fields it sets the value of combo and multiselect boxes to their first option. Has anyone else encountered this?

myForm.setItemValue(“issuerName”,"") - does not work either. When i call this method nothing happens.


You can use for combo

myForm.getCombo('comboname').clearAll(); myForm.getCombo('comboname').setComboText('');or

myForm.getCombo('namename').clearAll(); myForm.getCombo('comboname').unSelectOption();
You can use for select and multiselect:


Also you can use these methods with forEachItem method.