I’m trying to implemt the remove function for a select on a form.
But when I use to following code I’m running into problems.
When I click to open the selectbox, it will automatically close and select the first value.
When I hold the mousebutton down when I open the box, I’m able to select another item, but the result is that it took again the first value.
var geselecteerdUurtype = dhxList.getItemValue(“uurtypen”);
var optsHourTypes = dhxList.getOptions(“uurtypen”);
optsHourTypes.remove(“geselecteerdUurtype”);