Update FormBuilder.php
Make she the value is passed to password input.
This commit is contained in:
parent
c058e1a452
commit
e857023903
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue