PrimeNG Tree: How to allow exactly one selection? #1646
|
Hi there, Any ideas? |
Answered by
cetincakiroglu
Apr 15, 2024
Replies: 1 comment 1 reply
|
Hi, Unfortunately, this behavior is not supported. Also, I've checked now with v17.13.0 and see that the event is also emitted in onNodeUnselect emitter as |
1 reply
Answer selected by
cetincakiroglu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Unfortunately, this behavior is not supported. Also, I've checked now with v17.13.0 and see that the event is also emitted in onNodeUnselect emitter as
originalEvent: event, but even if you try to cancel the event, it'll unselect the selection since the selection logic is not designed in that way.