Merge pull request #608 from tugcekucukoglu/selectbutton

SelectButton click always makes an option is selected
pull/682/head
Cagatay Civici 2020-11-25 18:19:23 +03:00 committed by GitHub
commit 04787520ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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