No way to select an item in index when authorizedToDelete() = false and you have sole() actions.
#6255
Replies: 3 comments 1 reply
-
|
Unable to reproduce the issue, please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example) |
Beta Was this translation helpful? Give feedback.
-
@crynobone Basically, this is the code that reproduces the issue: Let me know if you need any more info, but it should be clear now. |
Beta Was this translation helpful? Give feedback.
-
|
This is something that can't easily be fixed without reducing the performance of Index page and I would suggest displaying "Sole" action to show as inline for now: https://nova.laravel.com/docs/actions/registering-actions.html#inline-actions |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I want to have
sole()actions that I expect I could select from index. However, I also want the resource to be not deletable. When we have this scenario, there is no select checkboxes for the resources in the inde.Detailed steps to reproduce the issue on a fresh Nova installation:
authorizedToDelete()returningfalse.sole()action.E.g.:
Beta Was this translation helpful? Give feedback.
All reactions