diff --git a/src/Controls/PasswordRevealInput.php b/src/Controls/PasswordRevealInput.php index 9d01666..3714ff8 100644 --- a/src/Controls/PasswordRevealInput.php +++ b/src/Controls/PasswordRevealInput.php @@ -25,6 +25,7 @@ public function __construct($label = null, ?int $maxLength = null) public function getControl(): Html { $input = parent::getControl(); + $input->value = $this->getRenderedValue(); $button = Html::el('button') ->setAttribute('type', 'button')