Support the ongoing development of →
Last updated by @tvbeek 1 year ago.
moderator Solution

I see the return value is an array, what do you get if you place both links in the array? (You use in both buttons the same icon and url, I suspect they should be different)

public function commandBar(): iterable {
   return [
        Link::make('Create new')

ps. I have updated your post to get the code blocks for both code parts.

Last updated 1 year ago.

farirai123, faisal liked this reply

Solution selected by @farirai123

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.