Is there a way to have groups have conditionals as to whether they show or not #108
Unanswered
aaronatweta
asked this question in
Q&A
Replies: 1 comment
-
Hi, I made a fix that solves this problem. All that remains is to wait for the author to accept the pull request. Here is a link to the branch with the fix: https://github.com/HoSHIZA/Tri-Inspector/tree/fix-disabling-empty-groups |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As an example, if I have a ShowIf on a field that also has a group and the ShowIf is false so the field is hidden, the group is still shown, but empty of course.
[Group("Bob")]
[ShowIf(nameof(boolThing))]
private int field;
If boolThing returns false, then 'field' is hidden but the Bob group box still displays, just empty.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions