© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
27 replies
Resonance

Filament form save ignores eloquent updateOrCreate?

As the title says, I'm trying laravel
updateOrCreate
updateOrCreate
eloquent as a way to detect duplicates on data creation. The method works like I want it to be, it updates the current model data but my problem is, it creates a new record prior on just updating the data. Does filament bypass this method or am I missing something on my codebase?
I'm using https://filamentphp.com/docs/2.x/admin/resources/creating-records,
before
before
method on CreateAction since I want the array of data being passed on form's input field. Am I doing something wrong here? Any input would be much appreciated!
Filament
Installation - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
Installation - Admin Panel - Filament
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

Equivalent of UpdateOrCreate
FilamentFFilament / ❓┊help
2y ago
Auto save form
FilamentFFilament / ❓┊help
3y ago
Filament form validation
FilamentFFilament / ❓┊help
3y ago