Untuk membuat Filament agar Row saat di klik menampilkan view modal action maka begini caranya
use Filament\Tables; class PostResource extends Resource{ // ... public static function table(Table $table): Table { return $table ->columns(...) ->filters(...) ->actions(...) ->bulkActions(...) ->recordAction(Tables\Actions\ViewAction::class) ->recordUrl(null); } // ...}
https://filamentphp.com/docs/2.x/admin/resources/viewing-records
0 Komentar