I have a selectitem that i create like this:
This is because i want the user to select one or several locations from a list. This works, however, there's no way to type in text to filter the amount of entries being displayed in the SelectItem, like you can do for a ComboBoxItem for example.
This is kind of unfortunate, since the list might contain several hundred items sometimes. Is there a way where you can select multiple items from a picklist, and at the same time make it possible for the user to filter the selectable items in the picklist by typing like in the comboboxitem filter?
That would really be something!
Code:
filter = new SelectItem(displayFieldToUse, title); filter.setName(criteriaFieldToFilterOn); filter.setMultiple(true); filter.setMultipleAppearance(MultipleAppearance.PICKLIST); filter.setValueField(CommonConstants.FIELD_ID); filter.setDisplayField(displayFieldToUse);
This is kind of unfortunate, since the list might contain several hundred items sometimes. Is there a way where you can select multiple items from a picklist, and at the same time make it possible for the user to filter the selectable items in the picklist by typing like in the comboboxitem filter?
That would really be something!
Comment