Formfeed-UK / nova-dependable-panel

A Nova 4 Panel that allows DependsOn Functionality
MIT License
7 stars 7 forks source link

canSee function not working in Dependable Fields when dependsOn is used #7

Open HeadStudios opened 1 year ago

HeadStudios commented 1 year ago

Fields that are tagged to be hidden with canSee are hidden from detail view but are visible in edit view when combined with dependsOn function - is it possible to hide the fields in this particular instance? Thank you!

https://gist.github.com/HeadStudios/dd3872ff6795810a3c43903e488b7ce6

Video for context: https://share.getcloudapp.com/E0uX7zBA

ianrobertsFF commented 1 year ago

Which field in your gist are we discussing? Can you give me a line number, and ill try to reproduce

HeadStudios commented 1 year ago

Which field in your gist are we discussing? Can you give me a line number, and ill try to reproduce

Hey! Line 182 for example. It works fine it's just that when I try to restrict the field within the Dependable Panel to only admin (myself) and login with the other user it's still visible within the DependablePanel.