fixing an exception that throws if the value of 'multiple' is true

This commit is contained in:
Sevan Nerse 2021-01-09 11:50:26 +03:00
parent 1fe38ff1e1
commit 40fdf89d29

View File

@ -451,7 +451,7 @@ export default {
let options = [];
this.selected.forEach(function (selected_option_id, selected_index) {
if (option.key == this.selected) {
if (option.key == selected_option_id) {
indexs.push(selected_index);
values.push(option.id);
labels.push(option.value);