Browse Source

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

Update FormBuilder.php
remotes/shaohao/master
Shao Hao 5 years ago
committed by GitHub
parent
commit
9c94489278
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      vendor/laravelcollective/html/src/FormBuilder.php

4
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);
}
/**

Loading…
Cancel
Save