F
Filamentβ€’15mo ago
jouni.i

Resource list page emptyStateActions action

CreateAction ->slideover() not working open create page instead modal
2 Replies
xy
xyβ€’15mo ago
Share your code Most likely its because you haven't commented out the 'create' route under getPages in your main resource. Like so:
public static function getPages(): array
{
return [
'index' => Pages\ListPosts::route('/'),
// 'create' => Pages\CreatePosts::route('/create'),
'edit' => Pages\EditPosts::route('/{record}/edit'),
];
}
public static function getPages(): array
{
return [
'index' => Pages\ListPosts::route('/'),
// 'create' => Pages\CreatePosts::route('/create'),
'edit' => Pages\EditPosts::route('/{record}/edit'),
];
}
jouni.i
jouni.iOPβ€’15mo ago
you are right πŸ™‚ now it works.. πŸ™‚ thx a lot πŸ™‚
Want results from more Discord servers?
Add your server