Why after click combobox even show undefined value then real value?
combobox.events.on(“change”, function (id) {
alert(id);
})
the example on DHTMLX Snippet Tool
This is the expected behavior.
Changing the selected option in the combo performs in two steps:
- Clearing the selected option (change event returns with null value)
- Setting a new option (change event with the new selected option)
before Version 8.3.8 doent show undefined, could you give me some example?
before Version 8.3.8 doent show undefined,
If you check the version 7.1:
https://snippet.dhtmlx.com/8fb0574n
It had the same behavior.
could you give me some example?
Could you please, clarify what kind of example do you expect?
Unfortunately the current behavior is the expected one.