Skip to content

p-multiselect: MultiSelectChangeEvent wrong select value #15954

@Emiliorth

Description

@Emiliorth

Describe the bug

MultiSelectChangeEvent gives originalEvent.selected opposite value to the real state. When you select item, it has false value, when you deselect item, it has true value

Environment

Angular, PrimeNG

Reproducer

No response

Angular version

18.0.3

PrimeNG version

17.18.2

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

22.2.0

Browser(s)

Chrome

Steps to reproduce the behavior

No response

Expected behavior

No response

Metadata

Metadata

Labels

Type: BugIssue contains a bug related to a specific component. Something about the component is not working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions