Hi experts,
Can anyone help me to figure this out. I have drop down in touch ui and populating some values via datasource.
Now when adding listeners to it, how can I get reference to this field.
I used
var list= new CUI.Select({
element: $("[name=./list']").closest(".coral-Select")
});
But this does add duplicate values to drop down.
In order to remove duplicates I tried to use: list._selectList.children().not("[role='option']").remove(); but it didnt worked. Still duplicates are present.
Share your thoughts guys....