YusifHajiyev
How can I create such a modal?
Action::make('Resit')
->icon('heroicon-o-clock')
->fillForm(function (Enrolment $enrolment) {
})
->form([
]) ->action(function (array $data, Enrolment $enrolment): void { try { Notification::make() ->title('Student Resit submitted') ->success() ->send(); } catch (Exception $exception) { Notification::make() ->title($exception->getMessage()) ->danger() ->send(); } }) how to added this form section
]) ->action(function (array $data, Enrolment $enrolment): void { try { Notification::make() ->title('Student Resit submitted') ->success() ->send(); } catch (Exception $exception) { Notification::make() ->title($exception->getMessage()) ->danger() ->send(); } }) how to added this form section
4 replies