FilamentF
Filamentβ€’16mo ago
Rolland

modify requiresConfirmation width

code:
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)),


please refer to the image. the text is squished and it look weird. Is there a way to make the modal a bit wider? I did try using the modalWidth but it is not working as I wanted. Altenative method is welcome. Thank you. πŸ˜„
image.png
Was this page helpful?