I use laravel and Vue.
My blade in laravel has these input variables.
$sdate // value = "2020-01-01" $edate
There is a Vue component in that blade:
<my-component :sdate="{{$sdate}}" :edate="{{$edate}}"></my-component>
As you see above, I pass data to component but the value I get in Vue is 2018. it's the calculation of my string.
vuvuv How to stop calculation on input?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community