Bug description
<Listing
:allowBulkActions="false"
:action-url="/action/url"
/>
shows the checkboxes for bulk actions:
What I tried:
In the action PHP file, returned false in the authorizeBulk() and visibleToBulk() methods:
public function authorizeBulk($user, $items)
{
return false;
}
public function visibleToBulk($items)
{
return false;
}
In the action controller, returned an empty collection in the bulkActions() method:
public function bulkActions(Request $request)
{
return collect([]);
}
How to reproduce
- Create a Vue page for the CP
- Add a Listing UI element
- Add at least one action
Logs
Environment
Environment
Laravel Version: 13.14.0
PHP Version: 8.4.22
Composer Version: 2.9.5
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: de_CH
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: database
Database: mysql
Logs: stack / single
Mail: smtp
Queue: database
Session: database
Storage
public/storage: NOT LINKED
Statamic
Addons: 0
License Key: Set
Sites: 1
Stache Watcher: Enabled
Static Caching: Disabled
Version: 6.20.2 PRO
Installation
Existing Laravel app
Additional details
No response
Bug description
shows the checkboxes for bulk actions:
What I tried:
In the action PHP file, returned
falsein theauthorizeBulk()andvisibleToBulk()methods:In the action controller, returned an empty collection in the
bulkActions()method:How to reproduce
Logs
Environment
Installation
Existing Laravel app
Additional details
No response