From 9ba20caf5eb5999051d80ed5e24a9030886daac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 27 Oct 2020 09:56:11 +0300 Subject: [PATCH] SelectButton behaves like RadioButton --- src/components/selectbutton/SelectButton.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/selectbutton/SelectButton.vue b/src/components/selectbutton/SelectButton.vue index 7c6f349f2..bba3ba9c9 100755 --- a/src/components/selectbutton/SelectButton.vue +++ b/src/components/selectbutton/SelectButton.vue @@ -57,7 +57,7 @@ export default { newValue = this.modelValue ? [...this.modelValue, optionValue]: [optionValue]; } else { - newValue = selected ? null : optionValue; + newValue = optionValue; } this.$emit('update:modelValue', newValue);