© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•17mo ago•
5 replies
pinpointzero

ViewField Form error.

I have a form with a ViewField in it.
ViewField::make('users')
                        ->columnSpan('full')
                        ->label(label: 'Company Users')
                        ->view('livewire.components.companies.company-users'),
ViewField::make('users')
                        ->columnSpan('full')
                        ->label(label: 'Company Users')
                        ->view('livewire.components.companies.company-users'),

When saving, I get an error stating that
users
users
does not exist.
Aside from the fact it does (in my Company model), I am unsure as to why - as a ViewField, that Filament is attempting to save the users.
Am I getting something wrong with the the nomenclature?
Solution
Oh goodness me.

My sincere apologies @Leandro Ferreira.
I've changed the
ViewField
ViewField
to be just a
View
View
and it's all working now.

Apologies.
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

viewfield
FilamentFFilament / ❓┊help
3y ago
Help with a Form and ViewField::make
FilamentFFilament / ❓┊help
2y ago
Dependent ViewField?
FilamentFFilament / ❓┊help
3y ago
Viewfield not updating state
FilamentFFilament / ❓┊help
2y ago