filament-adjacency-list icon indicating copy to clipboard operation
filament-adjacency-list copied to clipboard

Add ability to format item label

Open htulibacki opened this issue 7 months ago • 0 comments

In this pull request, my main goal was to add the ability to format item labels using a callback function. The formatted label can include HTML code, so I implemented the default Filament CanAllowHtml trait.

As a result, users may want to add a and button tags to the label. Therefore, I added the option to disable the default item action. This change also allows for any action to be provided for the item.

I hope you find these changes useful. If you decide to merge, I would be happy to add documentation for the new features.

I would also like to take this opportunity to thank you for this amazing package!

htulibacki avatar Mar 26 '25 23:03 htulibacki