I have a drop list filter where some of the drop list options won't return any items. What is the best practice here and if a filter option returns nothing, should it even exist in the filter dropdown?
For example
- I have a list of 50 employees.
- Each employee has a role: Administrator, Supervisor, or Staff.
- I can filter the employee list by role: All, Administrator, Supervisor, Staff.
If none of my 50 employees are Supervisors, should that role still be an option in my filter dropdown?
My dilemma
On the one hand, I think it makes sense to go ahead and display all possible filtering options. Even if the user selects an option that they don't have, they'll see that their list is empty.
On the other hand, if selecting the filter option returns nothing, what's the point of allowing this user flow to occur aside from the feedback of showing that nothing meets that filter?