nova-toggle
nova-toggle copied to clipboard
editableIndex even if policy returns false for update
I'm using this package on a index page that can be accesed with different roles. If user has no permission for editing this resource (by update policy), toogle is still working.
OK - sounds like a bug. Thanks for posting this issue.
I am currently working on the new version for the latest upcoming Nova version (v4) which will use Vue 3; and I will be implementing Headless UI's toggle. https://headlessui.dev/vue/switch