Actions\Action::make('password_reset')
->icon('heroicon-c-shield-exclamation')
->color('warning')
->form([
Forms\Components\TextInput::make('password')
->password()
->revealable()
->minLength(8)
->hint('Leave empty to auto-generate a secure password')
->hintIcon('heroicon-m-information-circle'),
])
->requiresConfirmation()
->modalWidth(MaxWidth::SevenExtraLarge)
->action(fn ($record, $data) => PasswordResetManager::getPasswordReset($record, $data)),
Actions\Action::make('password_reset')
->icon('heroicon-c-shield-exclamation')
->color('warning')
->form([
Forms\Components\TextInput::make('password')
->password()
->revealable()
->minLength(8)
->hint('Leave empty to auto-generate a secure password')
->hintIcon('heroicon-m-information-circle'),
])
->requiresConfirmation()
->modalWidth(MaxWidth::SevenExtraLarge)
->action(fn ($record, $data) => PasswordResetManager::getPasswordReset($record, $data)),