Fixed #6718 - SelectButton: allowEmpty does not stop unselecting

pull/6577/merge
tugcekucukoglu 2024-12-11 11:35:48 +03:00
parent ca7ccce0c1
commit 62c14bf2ff
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@
:disabled="disabled || isOptionDisabled(option)" :disabled="disabled || isOptionDisabled(option)"
:unstyled="unstyled" :unstyled="unstyled"
:size="size" :size="size"
:readonly="!allowEmpty && isSelected(option)"
@change="onOptionSelect($event, option, index)" @change="onOptionSelect($event, option, index)"
:pt="ptm('pcToggleButton')" :pt="ptm('pcToggleButton')"
> >