SelectButton behaves like RadioButton

pull/608/head
Tuğçe Küçükoğlu 2020-10-27 09:56:11 +03:00
parent f5434c89a5
commit 9ba20caf5e
1 changed files with 1 additions and 1 deletions

View File

@ -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);