How to show BulkAction button even without selecting a record (v4) ?

Hi, currently the the bulk action button in table only showed after a record is selected. Is it possible to show bulk action button but disabled at first if no record is selected?
No description
4 Replies
Mauko
Mauko2mo ago
In what scenario would that be an issue? Because the whole of a BULK action is to act on multiple records (hence the word bulk), so you'd have to select records first. Perhaps what you are looking for can be achieved by a simple action.
phatchai28
phatchai28OP2mo ago
I want the bulk action button to show up first, to let's the user know that there is an action that can be performed. Without a visible button, users may not know what action they can do.
Padestel
Padestel2mo ago
Seconding this request. Also from a UI point of view I dislike the shift in the table to show the button once a row has been selected.
dvarilek
dvarilek2mo ago
Maybe adding 'x-show' => true to extraAttributes on each bulk action would work

Did you find this page helpful?