© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
18 replies
Noor

disable Table use only Form

hay I have a question can I disable table later or not... because I was using a resource with edit create and view and now I have been told to use only form .... so Can I disable table now? I know we can use the simple resource but i think now too late for that already done with the code
Solution
You need the
index
index
key in the
getPages()
getPages()
method, you cannot remove it. What you can do is route it to another page.

See if this works for you:
public static function getPages(): array
{
    return [
      'index' => Pages\CreateInspection::route('/'),
      'view' => Pages\ViewInspection::route('/{record}'),
      'edit' => Pages\EditInspection::route('/{record}/edit'),
    ];
}
public static function getPages(): array
{
    return [
      'index' => Pages\CreateInspection::route('/'),
      'view' => Pages\ViewInspection::route('/{record}'),
      'edit' => Pages\EditInspection::route('/{record}/edit'),
    ];
}
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Page without table, only form
FilamentFFilament / ❓┊help
2y ago
Use $record in table action form
FilamentFFilament / ❓┊help
3y ago
Disable hover table
FilamentFFilament / ❓┊help
3y ago
How to use table inside a form?
FilamentFFilament / ❓┊help
3y ago