seetakanta
how add css property in action button in resources/createpage
public function getActions(): array
{
return [
Actions\CreateAction::make()
->label('Generate from ChatGPT')
->action(fn () => $this->fillFormFields1())
->disabled($disableGenerateButton)
// ->color($formFilled ? 'success' : 'secondary')
->color('success')
->outlined()
->extraAttributes([
'class' => 'float-right',
]),
];
}
i wrote this in my creatResourecesname.php page
11 replies
clickable widget
can you tell me how add css property in action button in resources/createpage
Actions\CreateAction::make()
->label('create')
->extraAttributes([
'class' => 'float-right',
]),
this is my code i want that button float in right for that i write class float-right
but it doesnot work
13 replies