refactor: make password input revealable in ChangePasswordAction

This commit is contained in:
Yoga Pangestu 2026-04-06 15:00:36 +07:00
parent 785e425dee
commit 10d80e8f8c

View File

@ -26,6 +26,7 @@ protected function setUp(): void
->password() ->password()
->required() ->required()
->minLength(8) ->minLength(8)
->revealable(filament()->arePasswordsRevealable())
->default(config('auth.password_default')), ->default(config('auth.password_default')),
]) ])
->action(function (User $record, array $data): void { ->action(function (User $record, array $data): void {