I am using the default resource in filament, I want to convert my form into a modal,how do I do that

2 Replies
just remove or comment the create/edit route in you resource.
public static function getPages(): array
{
return [
'index' => Pages\Lists::route('/'),
//'create' => Pages\Create::route('/create'),
//'view' => Pages\View::route('/{record}'),
'edit' => Pages\Edit::route('/{record}/edit'),
];
}