schema([ TextInput::make('endpoint') ->label(trans('admin/webhook.endpoint')) ->activeUrl() ->required(), TextInput::make('description') ->label(trans('admin/webhook.description')) ->required(), CheckboxList::make('events') ->label(trans('admin/webhook.events')) ->lazy() ->options(fn () => WebhookConfiguration::filamentCheckboxList()) ->searchable() ->bulkToggleable() ->columns(3) ->columnSpanFull() ->gridDirection('row') ->required(), ]); } protected function getFormActions(): array { return []; } protected function getHeaderActions(): array { return [ Actions\DeleteAction::make(), $this->getSaveFormAction()->formId('form'), ]; } }