Vuetify v-select onchange event returns previously selected value instead of current

You don’t need to specify the data because that’s what, I’m guessing, the change event passes by default.

So change:

v-on:change="changeRoute(`${select.src}`)"

to just

v-on:change="changeRoute"

and in the function call:

  changeRoute(a) {
    this.$router.push({path: a.src })
    console.log(a)
  }

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)