0👍
Use the ID to look up the name from this.groups
in your updateModel
handler. Something like (untested):
methods: {
updateModel(id) {
const name = this.group.documentTypes.find(type => type.id == id)
this.storage_Selection.push(name);
this.$store.commit('addDocumentType', this.storage_Selection);
}
}
Source:stackexchange.com