nova-issues icon indicating copy to clipboard operation
nova-issues copied to clipboard

Display/Hide fields on form based on parent resource?

Open zibzobzub opened this issue 8 years ago • 2 comments

Title says it all, does it possible?

For example, I have Post model and Comment model. I want to hide field certain field when making comment if the Post type is private.

zibzobzub avatar Sep 05 '18 05:09 zibzobzub

Didn't totally understand but did you try to see the canSee() method ?

https://nova.laravel.com/docs/1.0/resources/authorization.html#fields

Might help.

laraning avatar Sep 05 '18 13:09 laraning

This repository is for tracking bugs. Feature requests may be emailed to Nova customer support.

taylorotwell avatar Sep 06 '18 17:09 taylorotwell