I have this project that when user register for an student account it automatically display on the other column of the page using the vue-resource. The problem is that when I want to update the registered account, I cannot figure out how to do it. I make use of the create, store method of my controller and for fetching the data I make used of vue. Here's my code below.
<div class="list-group-item" v-for="enrollee in enrollees">
<h4 class="list-group-item-heading">
@ @ @</i>
</h4>
<h5>
ID No.: @</i>
</h5>
<a href="" class="btn btn-xs btn-primary">Edit Info</a>
<button class="btn btn-xs btn-danger" v-on:click="deleteEvent($index)">Enroll</button>
</div>
How can I update my form (in this case the to combine the field property of vue and laravel.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire