zemo
What is the best way to conditionally hide a tab in the ListResource page?
on a similar note, I would like to have a filter pre-selected and disabled on a resource, depending on the user role.
I know I can use default() on a SelectFilter. the issue is that the user can just remove the filter by clicking on the "x". I thought about using disabled() but it does not exist on SelectFilter.
I thought about just modifying the resource query based on the fact that you have a role or not.
any more insights? or a way to disable the filter. Thank you
17 replies
What is the best way to conditionally hide a tab in the ListResource page?
thank you! should I use your approach or mine, or both are equally ok?
what I've done is simply create the tabs based on the fact that you have a role or not.
example:
17 replies