Replies: 2 comments 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
-
@luanfreitasdev would you mind to explain what maintainability overhead this feature was bringing? Because it seems that it was a really good approach and I desperately need to use something like the method() approach. Creating a new view/action for this seems too much |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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