F
Filamentβ€’10mo ago
Rukmi

Want to use minus-circle Heroicon in Filament

->suffixAction( Action::make('copyCostToPrice') ->icon('heroicon-minus-circle') ->requiresConfirmation() ->action(function (Product $record) { $record->price = $record->cost; $record->save(); }) ) Above code gives error because it cannot find minus-circle heroicon.
1 Reply
DariusIII
DariusIIIβ€’10mo ago
->icon('heroicon-o-minus-circle')
->icon('heroicon-o-minus-circle')
You missed the -o- in name πŸ™‚
Want results from more Discord servers?
Add your server