© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
6 replies
Mocus

custom page form from resource

hi just want abit of advice i've added the element to my custom page:

 <form wire:submit.prevent="submit">
        {{ $this->form }}
    </form>
 <form wire:submit.prevent="submit">
        {{ $this->form }}
    </form>


and my custom page implements
hasforms
hasforms
and
use interactWithForms
use interactWithForms
instead of creating a whole chunk of code in the Page like, which render fine ... :

    public function form(Form $form): Form
    {
        return $form
            ->schema([
                TextInput::make('title')
                    ->required(),
                // ...
            ])
            ->statePath('data');
    }
    public function form(Form $form): Form
    {
        return $form
            ->schema([
                TextInput::make('title')
                    ->required(),
                // ...
            ])
            ->statePath('data');
    }


can i pull the form from my resource?
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

Create Resource from Linked Resource View Page - form error
FilamentFFilament / ❓┊help
2mo ago
Custom page custom form
FilamentFFilament / ❓┊help
2y ago
Refresh page data from resource form action
FilamentFFilament / ❓┊help
15mo ago
custom page(non resource page)
FilamentFFilament / ❓┊help
2y ago