Hello there
updatePost(event, id) {
const postId = id;
const updatedPost = new FormData(event.target); // Any way to not use event param to save this ?
console.log(updatedPost, postId);
},
// Call in my Template but :
<form @submit.prevent="updatePost(post.id)">
ps : form composed by 2 inputs type text and 1 input type file.Vue.js screenShot