mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Fixed #4631 - SelectButton: unselectable property defect
This commit is contained in:
parent
4e91dcc46c
commit
4736dac5ff
3 changed files with 4 additions and 4 deletions
|
@ -81,7 +81,7 @@ export default {
|
|||
|
||||
let selected = this.isSelected(option);
|
||||
|
||||
if (selected && (this.unselectable || !this.allowEmpty)) {
|
||||
if (selected && !(this.unselectable && this.allowEmpty)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue