Replies: 1 comment 3 replies
-
This is no longer available in v6 for maintainability purposes. But you can create a custom one using Column::make('custom-action')
->customContent([
'view' => 'components.custom-action',
'params' => []
]) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Previous versions had a way to use the
method('post')
on an action button in order to get a post request https://github.com/Power-Components/powergrid-doc/blob/5x/docs/table-features/button-class.md#method.However, I could not find any documentation of this in version 6.x.
When I try to use the method('post') like:
I get the error: " Method PowerComponents\LivewirePowerGrid\Button::method does not exist. "
There is a line for the method in the
src/Button.php
file like:How do you create an action button to
post
ordelete
routes?Beta Was this translation helpful? Give feedback.
All reactions