F
Filament12mo ago
Jap

Create, Edit Page of a Resource to Modal

Hello anyone know how can i convert my create and edit page to modal? Thank you.
Solution:
Jusr remove the create and edit pages from the resource then the create and edit actions will use modals instead. Like this: ``` public static function getPages(): array {...
Jump to solution
1 Reply
Solution
X7Ryan
X7Ryan12mo ago
Jusr remove the create and edit pages from the resource then the create and edit actions will use modals instead. Like this:
public static function getPages(): array
{
return [
'index' => Pages\ListUsers::route('/'),
];
}
public static function getPages(): array
{
return [
'index' => Pages\ListUsers::route('/'),
];
}

Did you find this page helpful?