Adding custom form action button

How can i make to add new custom form action button at create page.
Solution
I get it. The solution is
  protected function getFormActions(): array
    {
        return [
            $this->getCreateFormAction(),
            Action::make('saveAndBook')
                ->label('Save & Register booking')
                ->action(function(){
                    dd('hello');
                }),
            $this->getCancelFormAction(),
        ];
    } 
at the create or edit page
Was this page helpful?