Picklist events not always return an array #10284
Labels
LTS-PORTABLE
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
I'm submitting a ... (check one with "x")
Current behavior
The picklist component emits these events:
Sometimes the
event.items
returns an array and sometimes it has the object. I think it's specific to the event fired.Expected behavior
I'd expect it to always return an array even for a single item, as it's documented this way.
Angular version: 11.2.14
PrimeNG version: 11.4.0
Browser: Chrome
The text was updated successfully, but these errors were encountered: