Merge pull request #608 from tugcekucukoglu/selectbutton
SelectButton click always makes an option is selectedpull/682/head
commit
04787520ea
|
@ -57,7 +57,7 @@ export default {
|
||||||
newValue = this.modelValue ? [...this.modelValue, optionValue]: [optionValue];
|
newValue = this.modelValue ? [...this.modelValue, optionValue]: [optionValue];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
newValue = selected ? null : optionValue;
|
newValue = optionValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$emit('update:modelValue', newValue);
|
this.$emit('update:modelValue', newValue);
|
||||||
|
|
Loading…
Reference in New Issue