when option uniq is true, display message if you select multiple suggestions

This commit is contained in:
2021-05-10 19:13:50 +02:00
parent f7c08f02c2
commit 040884a039
4 changed files with 11 additions and 2 deletions

View File

@@ -91,6 +91,7 @@ export default {
},
addNewPersons({ selected, modal }) {
console.log('@@@ CLICK button addNewPersons', selected);
this.$refs.addPersons.checkUniq();
selected.forEach(function(item) {
this.$store.dispatch('addRequestor', item);
}, this