mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Merge pull request #608 from tugcekucukoglu/selectbutton
SelectButton click always makes an option is selected
This commit is contained in:
commit
04787520ea
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue