Default selection for radio element - not working!

5 Replies
Dan Harrin
Dan Harrin2y ago
defaults are applied on the create page, not edit page.
enshtein
enshteinOP2y ago
this is from a form in a modal window action
Dan Harrin
Dan Harrin2y ago
is it a simple resource? or a relation manager? is it the Edit modal or Create modal??
enshtein
enshteinOP2y ago
BulkAction::make('send_mail') ->label('Send mail') ->color('primary') ->icon('heroicon-o-mail') ->action(function (Collection $records, array $data): void { self::actionSendEmails($data); }) ->steps(self::wizardSendEmails()), public static function wizardSendEmails() { return [ Forms\Components\Wizard\Step::make('Receivers') ->schema([ This is a form for setting up an action in a modal window for records from a table
Dan Harrin
Dan Harrin2y ago
on the action try ->mountUsing(fn ($form) => $form->fill())
Want results from more Discord servers?
Add your server