© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
Trauma Zombie

How to eager load in Relation Manager?

Hey guys, I am trying to optimise my app. So I used this:
Model::shouldBeStrict(app()->isLocal());
Model::shouldBeStrict(app()->isLocal());

I found one problem in my RelationManager. I have User that has many Clients and he belongs to Address. When I want to edit User I got this error:
https://flareapp.io/share/dPbNO6LP#F129
Flare
Attempted to lazy load [address] on model [App\Models\Client] but lazy loading is disabled. - The error occurred at http://leasing.test/users/6/edit
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

how to eager load in relationship manager
FilamentFFilament / ❓┊help
3y ago
Eager Loading Relation Manager
FilamentFFilament / ❓┊help
3y ago
Load spinner in relation manager
FilamentFFilament / ❓┊help
3y ago
Eager load issue
FilamentFFilament / ❓┊help
2y ago