- Laravel Version: 11.45.1
- Nova Version: 5.7.5
- PHP Version: 8.2
Description:
If I apply a policy to a Nova resource which disallows deleting the resource, I get the following Vue warning in the browser console...
[Vue warn]: Property "relationshipType" was accessed during render but is not defined on instance.
This happens whether the policy is enforced through Eloquent or through Nova.
Detailed steps to reproduce the issue on a fresh Nova installation:
Create a resource. Create a corresponding policy. Change the policy so that all methods return true except delete(). Visit the resource index page in the browser. View the console output.