@@ -423,7 +423,8 @@ public static function table(Table $table): Table
423423 ->title (__ ('Mail will be resent in the background ' ))
424424 ->success ()
425425 ->send ();
426- }),
426+ })
427+ ->deselectRecordsAfterCompletion (),
427428 Tables \Actions \DeleteBulkAction::make (),
428429 ]),
429430 ]);
@@ -436,15 +437,15 @@ private static function getResendForm(): array
436437 ->placeholder (__ ('Recipient(s) ' ))
437438 ->label (__ ('To ' ))
438439 ->required ()
439- ->rules (['email:rfc,dns ' ]),
440+ ->nestedRecursiveRules (['email:rfc,dns ' ]),
440441 TagsInput::make ('cc ' )
441442 ->placeholder (__ ('Recipient(s) ' ))
442443 ->label (__ ('CC ' ))
443- ->rules (['nullable ' , 'email:rfc,dns ' ]),
444+ ->nestedRecursiveRules (['nullable ' , 'email:rfc,dns ' ]),
444445 TagsInput::make ('bcc ' )
445446 ->placeholder (__ ('Recipient(s) ' ))
446447 ->label (__ ('BCC ' ))
447- ->rules (['nullable ' , 'email:rfc,dns ' ]),
448+ ->nestedRecursiveRules (['nullable ' , 'email:rfc,dns ' ]),
448449 ];
449450 }
450451
@@ -458,6 +459,7 @@ private static function getBulkResendForm($records): array
458459 ->toArray ();
459460 };
460461
462+
461463 $ toEmails = $ extractEmails ($ records , 'to ' );
462464 $ ccEmails = $ extractEmails ($ records , 'cc ' );
463465 $ bccEmails = $ extractEmails ($ records , 'bcc ' );
0 commit comments