© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
LeandroFerreira

Resources / Simple resources

I have a resource that I'm working with. When I set my actions with
->url(null)
->url(null)
, it transforms my page into a form modal. I'm wondering if this is the correct approach when I want to set my resource (or a specific page) as "simple," or if I should regenerate my resource with the "simple" option instead.

class ListPosts extends ListRecords
{
    protected static string $resource = PostResource::class;

    protected function getHeaderActions(): array
    {
        return [
            Actions\CreateAction::make()
            ->url(null),
        ];
    }
}
class ListPosts extends ListRecords
{
    protected static string $resource = PostResource::class;

    protected function getHeaderActions(): array
    {
        return [
            Actions\CreateAction::make()
            ->url(null),
        ];
    }
}
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

Global search for simple resources?
FilamentFFilament / ❓┊help
3y ago
Lifecycle Hooks on simple resources
FilamentFFilament / ❓┊help
3y ago
How to test simple resources in v3...?
FilamentFFilament / ❓┊help
3y ago
Multiple Simple (modal) resources in a single Page
FilamentFFilament / ❓┊help
3y ago