how to fix ->requiresConfirmation() thats not showing
i already insert the requires confirmation but there's nothing modal to confirm and its just become submit button that just load and then save.
Action::make('Case Proceedings')
->modalWidth('xl')
->slideOver()
->label('Case Proceedings')
->tooltip('Case Proceedings')
->requiresConfirmation()
->modalIcon('heroicon-o-briefcase')
->modalDescription('Add proceeding/s for the case. Kindly verify before confirming.')
->modalHeading('Proceedings')
->icon('heroicon-o-briefcase')
->fillForm(fn (CourtCase $record): array => [
'proceeding_id' => $record->proceedings()->pluck('proceeding_id'),
'old_proceeding' => $record->proceedings()->pluck('proceeding_id')
])
0 Replies