filament/filament
v3.2
v10.48.14
v3.5.1
PHP 8.3
I have an action like this:
Tables\Actions\Action::make('accept')->label(false)->icon('checkmark-icon')
->iconSize('xl')
->tooltip('Nhận xét của chuyên gia')
->form([
TextArea::make('validation_mvc')->label('Nhận xét')->required()
->default(function ($record){
return $record->validation_mvc;
}),
CustomImageUpload::make('validation_img')->label('Hình ảnh')
->panelLayout('grid')
->multiple()
->default(function ($record){
return $record->validation_img;
}),
])->closeModalByClickingAway(false)
->modalHeading('Nhận xét của chuyên gia')
->action(function ($record,$data){
$record->validation_mvc=$data['validation_mvc'];
$record->validation_img=$data['validation_img'];
$record->save();
}),
If i comment out the ->iconSize('xl') path, when i click on the action then the spinner appear.
But if i remove the comment which in my case, mandatory, then no spinner at all, the icon disappears then reappear again with the modal instead.
looks like filament doesn't know where to look for the xl size of the spinner or maybe no xl spinner at all?
spinner should appear in place instead of icon disappear altogether
Tables\Actions\Action::make('accept')->label(false)->icon('checkmark-icon') ->iconSize('xl')
just comment/uncomment the ->iconSize('xl') part and you'll see
https://github.com/tungnguyenls2008/filament-icon-spinner-issue.git
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too