We have a situation where a 'suggestion-contains' control has a lookup with a couple of prefilters. Now when one of the prefilters is active, the lookup (with the pop-up closed) still only shows items within the prefilter. This feels a bit counter-intuitive, because every time I want an item belonging to another prefilter, I need to open the pop-up and change the prefilters.
Is there something I can do to reset the filters every time the pop-up is closed?
Best answer by Vincent Doppenberg
I agree that when someone knows what they are looking for and the value they have entered is specific enough, then it would be ideal for this value to be the only filter applied to the lookup set (aside from authorization prefilters). Although even in these ideal circumstances I can still think of scenarios in which it would be better for at least some prefilters to remain active. For instance when dealing with records that have identical or nearly identical display values, but one is marked 'active' and the other is not.
With that said, there are also scenarios in which the user doesn't know exactly what to enter, perhaps they only know the first letter. In this scenario, turning off the prefilters would increase the likelihood of that person not finding the correct result.
In general, prefilters that are on by default will rarely need to be turned off, otherwise it's bad design. So perhaps we could say that when typing in a value, only the prefilters that are on by default are applied, except for those that have been turned off explicitly by the user. This would at least solve both of the use cases that we have described simultaneously. In addition, it would be nice to see which prefilters are active and change their state more easily.
How do you feel about that solution?