Filament form save ignores eloquent updateOrCreate?
As the title says, I'm trying laravel
I'm using https://filamentphp.com/docs/2.x/admin/resources/creating-records,
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 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
The elegant TALL stack admin panel for Laravel artisans.