Using jQuery EasyUI 1.3.5 Release.
i have two combobox in my code. This combobox use the same data object to show the values. The data loaded from a database and the result is an JSON Object saved in one JavaScript variable called gbAllEmployees.
$.post('getAllEntities.do?eN=dataRecording.masterData.Employee', function(result) {
gbAllEmployees = result;
console.log(gbAllEmployees);
});
The error is, that i can only select the data in the second combobox on the webpage. On the first shown combobox the values cannot be selected!
It is very strange. If I use load data direct from url all is fine.
$('#wvProjectLead').combobox({
width:'220',
panelWidth:'220',
mode: 'local',
valueField:'id',
textField:'lastName',
data:gbAllEmployees
});
$('#wvRevPlaner').combobox({
width:'220',
panelWidth:'220',
mode: 'local',
valueField:'id',
textField:'lastName',
data:gbAllEmployees
});