Merge pull request #454 from shaohao/Fix-password-issue

Update FormBuilder.php
This commit is contained in:
KodeStar 2022-03-11 20:13:51 +00:00 committed by GitHub
commit 23f757e06f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -331,9 +331,9 @@ class FormBuilder
* *
* @return \Illuminate\Support\HtmlString * @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);
} }
/** /**