I have a combobox that has a single validType set in HTML, then after loading I append other validTypes however only the one that was initially added through HTML appears to activate:
<input id="cbox" class="easyui-combobox" data-options="validType:'test1'">
var opt = $('#cbox').combobox('options');
if(!opt.validType) opt.validType = [];
else if(typeof opt.validType=='text) opt.validType = [opt.validType];
opt.validType.push('test2');
How can I get the object to reload the validType so that test2 is also activated ?