I'd like to change the value of the date field at the time of a data edit. I can bring all the values except the date.
I'm using Laravel's Form :: :
{!! Form::label('dtemissao','Data de Emissão') !!}
{!! Form::input('date','dtemissao',$FinContaspagar[0]["DtEmissao"]->format("d/m/Y"), ['class' => 'form-control']) !!}<br />
I'm using $FinContaspagar[0]["DtEmissao"]->format("d/m/Y")
to change the default value of dd / mm / yyyy , but I was not successful at changing the value.
Does anyone have a solution?