SelectButton behaves like RadioButton
parent
f5434c89a5
commit
9ba20caf5e
|
@ -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