From e857023903e09bdeb67b1d893315292786d4a9c1 Mon Sep 17 00:00:00 2001 From: Shao Hao Date: Tue, 3 Mar 2020 14:11:51 +0800 Subject: [PATCH] Update FormBuilder.php Make she the value is passed to password input. --- vendor/laravelcollective/html/src/FormBuilder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/laravelcollective/html/src/FormBuilder.php b/vendor/laravelcollective/html/src/FormBuilder.php index f28aaba2..51e72e38 100644 --- a/vendor/laravelcollective/html/src/FormBuilder.php +++ b/vendor/laravelcollective/html/src/FormBuilder.php @@ -331,9 +331,9 @@ class FormBuilder * * @return \Illuminate\Support\HtmlString */ - public function password($name, $options = []) + public function password($name, $value = null, $options = []) { - return $this->input('password', $name, '', $options); + return $this->input('password', $name, $value, $options); } /**