"...but we have no way of knowing whether this is the case preemptively."
you do: the filter is set on that particular item.
you do: the filter is set on that particular item.
Unfortunately, this isn't enough to make the assertion that the user will ever be able to get at the option in the pickList:
- Firstly, SelectItems frequently have filter-criteria specified for their pickLists which the user never sees. It is very common to filter the list of available options, and not show a filterEditor. Therefore the fact that the data is filtered doesn't necessarily mean that the user can remove that filter. Even if a filterEditor is visible, it may be filtered by a hidden field, etc.
- Secondly, even if we knew that there is a user-modifiable filter applied to the set of options, we don't know if removing the current criteria would reveal the selected option or not, unless we were tracking both the currently visible data and the superset of unfiltered data which could potentially show (which isn't really viable).
This is an issue which has been discussed at some length internally.
If we were to truly add support for this, our likely approach would be to modify the SelectItem UI to display all selected options in a different part of the PickList, so they are always visible, regardless of the current filter criteria, or similar. However adding this as a feature is a non-trivial change, and has not been seen as a priority, as we already have the alternative UI based on a ComboBoxItem with multiple:true and addUnknownValues:false set, as in the example we linked to previously.
If supporting this feature is a priority for you, we could probably prioritize this work as a feature-sponsorship. If you'd like us to put together an estimate for that, please let us know and we can discuss it further offline.
However before we go down that route - can you also clarify whether there's something specific about the MultiComboBoxItem which makes it undesirable for your usage? It would seem like this component might just be a better fit for you, so we'd be interested in knowing if there's something specific which is lacking for you.
Regards
Isomorphic Software
Leave a comment: