[Vuejs]-Vue – select option change triggers vuex mutation error

0👍

First of all I don’t see the need of using @change in your case. v-model should be sufficient for handling the selected option.
Here is a sample fiddle: https://jsfiddle.net/z11fe07p/567/

As long as you have the whole object as :value and v-model as well you always have the selected option along with it’s id.

Leave a comment