[Vuejs]-Send value from API request from a component to another Vue.JS

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
}

Leave a comment