EasyUI Forum

General Category => Bug Report => Topic started by: felixHo on February 01, 2018, 02:00:19 AM



Title: combobox issue
Post by: felixHo on February 01, 2018, 02:00:19 AM
The new vision 1.5.4.1. When I use Combobox onSelect event on IE 11, I can't get value through getValue method. Always blank value. The 1.5.3 version is OK.


Title: Re: combobox issue
Post by: jarry on February 01, 2018, 02:32:51 AM
The 'onSelect' event fires before the 'onChange' event. Try this code to get the selected value.
Code:
$('#cc').combobox({
onSelect: function(row){
var opts = $(this).combobox('options');
var value = row[opts.valueField];
console.log('select:'+value)
}
});