diff --git a/app/Filament/Resources/WebhookResource.php b/app/Filament/Resources/WebhookResource.php index 9c30330e3..804c0e078 100644 --- a/app/Filament/Resources/WebhookResource.php +++ b/app/Filament/Resources/WebhookResource.php @@ -26,11 +26,14 @@ class WebhookResource extends Resource { return $form ->schema([ - TextInput::make('endpoint')->activeUrl()->required(), - TextInput::make('description')->nullable(), - CheckboxList::make('events')->lazy()->options( - fn () => WebhookConfiguration::filamentCheckboxList() - ) + TextInput::make('endpoint') + ->activeUrl() + ->required(), + TextInput::make('description') + ->required(), + CheckboxList::make('events') + ->lazy() + ->options(fn () => WebhookConfiguration::filamentCheckboxList()) ->searchable() ->bulkToggleable() ->columns(3)