© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
32 replies
lodeki

Custom resource page component data error.

I create a custom page for a simple resource.Inside the
.blade
of the page I added the line
{{ $this->form }}
{{ $this->form }}

then inside the page component i implemented the
getFormSchema()
method which has a radio and few text Inputs where one of the text inputs' visibility depends on the value of the radio as below
Wizard::make([
                Wizard\Step::make('Personal information')
                ->description('Provide additional information about you.')
                    ->schema([
                        Fieldset::make()->schema([
                            Radio::make('type')->options(['agent' => 'Agent', 'manager' => 'Manager'])->required()->reactive(),
                            TextInput::make('commision')->visible(fn (Callable $get) => $get('type') == 'agent' ? true : false),
    
                        ]),
                    ]),
Wizard::make([
                Wizard\Step::make('Personal information')
                ->description('Provide additional information about you.')
                    ->schema([
                        Fieldset::make()->schema([
                            Radio::make('type')->options(['agent' => 'Agent', 'manager' => 'Manager'])->required()->reactive(),
                            TextInput::make('commision')->visible(fn (Callable $get) => $get('type') == 'agent' ? true : false),
    
                        ]),
                    ]),

.The error i'm getting when i try to go the next step of the wizard is
Unable to set component data. Public property [$type] not found on component: [app.manager.resources.biodata-resource.pages.bioform]
Unable to set component data. Public property [$type] not found on component: [app.manager.resources.biodata-resource.pages.bioform]

. I'm not sure how to go about this error.
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

Custom page with resource record error
FilamentFFilament / ❓┊help
14mo ago
Custom Component Within Resource.
FilamentFFilament / ❓┊help
10mo ago
custom page(non resource page)
FilamentFFilament / ❓┊help
2y ago
Custom page in resource
FilamentFFilament / ❓┊help
3y ago