Blade Component in Header #619
Replies: 4 comments 1 reply
-
Hello, I need this feature also and I have been investigating through the code. What I found is that you can add a Button::add('whatever')->bladecomponent() in header() method. But then in file https://github.com/Power-Components/livewire-powergrid/blob/4.x/resources/views/components/actions-header.blade.php there is no @elseif($action->bladeComponent !== ''). I have published those files and added myself the @elseif directive and then inside that elseif you have to put a dynamic blade component like this:
/roger |
Beta Was this translation helpful? Give feedback.
-
A question on this, before I try to implement it. Can blade components in header be used to create dynamic filters? A type of dynamic filters could be faceted search. |
Beta Was this translation helpful? Give feedback.
-
Hello, I have made two pull requests and this feature is now part of official package (update package to 4.8.4). I implemented blade component with some params in header in my app successfully. So, I don't know what you mean by "dynamic filter" but you can try it. Let us know! |
Beta Was this translation helpful? Give feedback.
-
Hey @rogermedico, can you check this issue #1083? Can you help me out here? |
Beta Was this translation helpful? Give feedback.
-
Hey! Can we add an bladecomponent in the header. For example. Bulk-delete. Can I use a customize button?
Beta Was this translation helpful? Give feedback.
All reactions