schema([ TextInput::make('name') ->required(), ]); } public static function table(Table $table): Table { return $table ->columns([ TextColumn::make('name') ->searchable() ->sortable(), ]) ->actions([ EditAction::make(), DeleteAction::make(), ]) ->bulkActions([ BulkActionGroup::make([ DeleteBulkAction::make(), ]), ]); } public static function getPages(): array { return [ 'index' => Pages\ListNetworks::route('/'), 'create' => Pages\CreateNetwork::route('/create'), 'edit' => Pages\EditNetwork::route('/{record}/edit'), ]; } public static function getGloballySearchableAttributes(): array { return ['name']; } }