schema([ TextInput::make('endpoint') ->label('Endpoint') ->activeUrl() ->required(), TextInput::make('description') ->label('Description') ->required(), CheckboxList::make('events') ->label('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() ->label('Delete') ->modalHeading('Are you sure you want to delete this?') ->modalDescription('') ->modalSubmitActionLabel('Delete'), $this->getSaveFormAction()->formId('form'), ]; } }