mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-24 01:58:00 +08:00
Prevent modal from being closed accidentally
This commit is contained in:
+3
@@ -52,6 +52,9 @@ class SetUpGoogleTwoFactorAuthenticationAction
|
||||
]);
|
||||
})
|
||||
->modalWidth(Width::Large)
|
||||
->closeModalByClickingAway(false)
|
||||
->closeModalByEscaping(false)
|
||||
->modalCloseButton(false)
|
||||
->modalIcon(Heroicon::OutlinedLockClosed)
|
||||
->modalIconColor('primary')
|
||||
->modalHeading(__('filament-panels::auth/multi-factor/google-two-factor/actions/set-up.modal.heading'))
|
||||
|
||||
Reference in New Issue
Block a user