Skip to content

Commit

Permalink
Fixed #6718 - SelectButton: allowEmpty does not stop unselecting
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Dec 11, 2024
1 parent ca7ccce commit 62c14bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/primevue/src/selectbutton/SelectButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
:disabled="disabled || isOptionDisabled(option)"
:unstyled="unstyled"
:size="size"
:readonly="!allowEmpty && isSelected(option)"
@change="onOptionSelect($event, option, index)"
:pt="ptm('pcToggleButton')"
>
Expand Down

0 comments on commit 62c14bf

Please sign in to comment.