0👍
The property is named toUpdate
and not updateUser
.
Update your prop accordingly in the EditUserForUpdate component:
props: {
toUpdate: Object
}
And of course, localize that object for manipulation:
beforeMount() {
this.updateUser = this.toUpdate
}
- [Vuejs]-Vue function not returning dynamic property instead showing initial value
- [Vuejs]-Defining sub routes in components
Source:stackexchange.com