We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we add condition per tab which can be hidden/shown based on condition e.g. user role?
The text was updated successfully, but these errors were encountered:
Put your tabs array into a protected or private method and populate this array depending on which Tabs you wanna show. It works fine for me!
Sorry, something went wrong.
Hi @newtongamajr do you have any sample code? Thanks!
Hmm, I quite like this idea actually. This could be done with a when method similar to the query builder.
when
I'll try to take a look this week or if someone wants to take a crack at it and make a PR please feel free to do so.
This has been implemented with the new Tab object (see showIf and showUnless). It's available in the master branch and will be released with 1.4.0.
Tab
showIf
showUnless
RVxLab
No branches or pull requests
Can we add condition per tab which can be hidden/shown based on condition e.g. user role?
The text was updated successfully, but these errors were encountered: