0👍
well i think that you are passing editData to the modal component as a prop, and when you are setting editModal to true, it has not been passed yet,
try using $nextTick for setting editModal to true, it might fix your problem.
this.$nextTick().then(() => {
this.editModal = true;
});
- [Vuejs]-Can't pass a foreign key selected from a dropdown in Vue.js to my API in DRF
- [Vuejs]-How to make a delete function on nested data in Laravel vue js
Source:stackexchange.com