I\'m using ExtJS 4 and looking for a way I can hide currently selected value from combo\'s dropdown list?
So instead of this (\"Alaska\" currently selected in combobox):
So I used @sra's solution, but with a small modification, to add the content in the right place below the if(!me.hideActive)
:
if(me.selectedRecords[0]) {
me.store.insert(me.selectedRecords[0].index,me.selectedRecords);
}
That way you just don't add them to the botton. I know it is an old post, but I hope it helps people looking for a solution.