Open parmonov98 opened 1 month ago
cc @danharrin
yes you can add ->extraAttributes(['data-pan'=>'track name'])
to any action you want :)
@nunomaduro Can you confirm @atmonshi's suggestion works? If so I can update the Readme.
you can also configure ALL actions in the panel globally by adding this to any service provider:
Action::configureUsing(function (Action $checkbox): void {
$checkbox
->extraAttributes(fn() => ['data-pan' => $checkbox->getLabel()]);
});
18d36beecc9167871bdea336ed7a7c63675c1628
I'd like to get it working with Form components of filament