label(__('filament-forms::components.text_input.actions.show_password.label')); $this->icon(FilamentIcon::resolve('forms::components.text-input.actions.show-password') ?? 'heroicon-m-eye'); $this->defaultColor('gray'); $this->extraAttributes([ 'x-show' => '! isPasswordRevealed', ], merge: true); $this->alpineClickHandler('isPasswordRevealed = true'); } }