Dipish
4 Sep 2012, 3:50 AM
Hi everyone!
I'm surprised this hasn't been asked previously, but is there a way I can hide currently selected value from combo's dropdown list?
Currently the combobox works like this (taken from the docs example):
38453
If the combobox is not editable (i.e. you can't input an arbitrary value), I don't think it makes much sense to display the selected value two times: once in the input field and once in the dropdown list. I already see what is selected, I want the dropdown list to only show me *other* options I can select.
So I want it to be like this:
38454
Is there an easy way to do this? I would play around with combobox' store filters but there seems to be no easy way to add another filter to the ones that are already there (used for "live search").
Anybody ever thought of this?
Thanks in advance.
I'm surprised this hasn't been asked previously, but is there a way I can hide currently selected value from combo's dropdown list?
Currently the combobox works like this (taken from the docs example):
38453
If the combobox is not editable (i.e. you can't input an arbitrary value), I don't think it makes much sense to display the selected value two times: once in the input field and once in the dropdown list. I already see what is selected, I want the dropdown list to only show me *other* options I can select.
So I want it to be like this:
38454
Is there an easy way to do this? I would play around with combobox' store filters but there seems to be no easy way to add another filter to the ones that are already there (used for "live search").
Anybody ever thought of this?
Thanks in advance.