-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
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
ConditionalField does not hide layer and tag attributes #57
Comments
Well, such issue were opened once, but I considered this behavior is "intended". |
Cool thanks! Will make it easy to make components that can check layers/tags or not. :) |
Oh dang, I completely misunderstood what you requested for some reason (probably I should sleep a bit more 😅). I though you wanted to hide Separator or Header along with the property. Ok then, I was unable to reproduce your issue.
|
Apparently, tag needs to be the last attribute assigned. In this code, the conditionalfield for Tag works, but not for Layer; public bool checkTag;
|
For now I figured out that ConditionalField should always be the first attribute. I experimented with order, like this: Hopefully this will work in your case 🙄 |
one of the previous changes I made in ConditionalField should fix this issue |
As the title says - would be nice implementation :)
The text was updated successfully, but these errors were encountered: