schema([ TextInput::make('endpoint')->activeUrl()->required(), TextInput::make('description')->nullable(), CheckboxList::make('events')->lazy()->options( fn () => WebhookConfiguration::filamentCheckboxList() ) ->searchable() ->bulkToggleable() ->columns(3) ->columnSpanFull() ->gridDirection('row') ->required(), ]); } public static function table(Table $table): Table { return $table ->columns([ TextColumn::make('description'), TextColumn::make('endpoint'), ]) ->actions([ Tables\Actions\EditAction::make(), ]); } public static function getRelations(): array { return [ // ]; } public static function getPages(): array { return [ 'index' => Pages\ListWebhookConfigurations::route('/'), 'create' => Pages\CreateWebhookConfiguration::route('/create'), 'edit' => Pages\EditWebhookConfiguration::route('/{record}/edit'), ]; } }