-
- ,
- {{ getOptionName(item) }}
+
+ {{ selectedValues.join(', ') }}
@@ -104,7 +103,8 @@ export default {
data () {
return {
- additionalOptions: []
+ additionalOptions: [],
+ selectedValues:[],
}
},
@@ -121,6 +121,9 @@ export default {
if (option) return option[this.displayKey]
return null
},
+ updateModelValue(newValues){
+ this.selectedValues = newValues
+ },
updateOptions (newItem) {
if (newItem) {
this.additionalOptions.push(newItem)
diff --git a/client/components/forms/components/VSelect.vue b/client/components/forms/components/VSelect.vue
index 10c6a39..96a96ca 100644
--- a/client/components/forms/components/VSelect.vue
+++ b/client/components/forms/components/VSelect.vue
@@ -1,5 +1,5 @@