I am trying to extract the value of a password field and display it in the current form for one of the update pages
{{ Form::label('Password')}}
{{ Form::password('password',array('class' => 'form-control') }}
The syntax of the password field of the Lavar blade does not allow the use of a parameter for input, for example, for text fields,
{{ Form::label('Email or Username')}}
{{ Form::text('email',$useremaildata,array('class' => 'form-control')) }}
Now I have found one solution to use placeholders like this, but this is not a ritual way to do this. Sharing only swap.
{{ Form::label('Password')}}
{{ Form::password('password',array('class' => 'form-control','placeholder' => $userpassworddata)) }}
Any help would be great.
source
share