Skip to content

Commit

Permalink
Fixed #698 - SelectButton should allow a mode to ensure an options is…
Browse files Browse the repository at this point in the history
… always selected
  • Loading branch information
cagataycivici committed Nov 27, 2020
1 parent 4f07292 commit 50854db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/selectbutton/SelectButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default {
newValue = this.value ? [...this.value, optionValue]: [optionValue];
}
else {
newValue = selected ? null : optionValue;
newValue = optionValue;
}
this.$emit('input', newValue);
Expand Down

0 comments on commit 50854db

Please sign in to comment.