Fixed #6718 - SelectButton: allowEmpty does not stop unselecting
parent
ca7ccce0c1
commit
62c14bf2ff
|
@ -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')"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue