Filament Importer skip import row if certain conditions is true
I create a simple importer that import only one column "email".
The importer works properly, now i try to stop import row if email has already been imported
I try to use beforeValidate hooks, but it doesn't seem to work.
alternative to $this->action->halt(); ???
thank you always for your availability
Solution:Jump to solution
ok its worked, i add the code in public function resolveRecord() function and use Filament\Actions\Imports\Exceptions\RowImportFailedException;
1 Reply
Solution
ok its worked, i add the code in public function resolveRecord() function and use Filament\Actions\Imports\Exceptions\RowImportFailedException;