I have a value in in my database Here table name: Shift and column name: From. I want to give condition in blade that if shift table's From column's value is not null then my data from "From"column will be displayed on date type input field. I used it in above way but it doesn't work
value="@if(!empty($shift->From)) {{$shift->From}} @endif"
But I got mm/dd/yyyy value in display enter image description here