You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason the table actions for draft/revisions table would not work. I have tried to add them separately and also tried to allow user to pass those actions but nothing works.
Solution
The work around for me was to use Tabs on ListRecord pages to filter records. This allowed the usage of existing actions. Other benefit of using tabs is:
Less space on page
Better UI
Less code to maintain, we can remove the list-draftable-records view file and the livewire components it loads
We dont need to define/pass which fields, actions and filters to load. Those will be loaded from resource itself.
Problem
For some reason the table actions for draft/revisions table would not work. I have tried to add them separately and also tried to allow user to pass those actions but nothing works.
Solution
The work around for me was to use Tabs on ListRecord pages to filter records. This allowed the usage of existing actions. Other benefit of using tabs is:
list-draftable-records
view file and the livewire components it loadsThe code we need:
@LukasFreyCZ I am planning to send this Pull request. I need to hear your thoughts.
Thanks :)
The text was updated successfully, but these errors were encountered: