p-multiSelect: Component not showing more than 3 values on input text field
Describe the bug
If we are selecting more than 3 values in p-multiSelect component than it is not showing in input field.
Environment
I am using PrimeNg version 16.9.1 and Angular 16.0.2
Reproducer
No response
Angular version
16.0.2
PrimeNG version
16.9.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.14.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
Looked through the code of v16.7.0 and just discovered that setting on component [maxSelectedLabels]="undefined" (default = 3) make it show everything you select.
use maxSelectedLabels
https://stackblitz.com/edit/q47yiv?file=src%2Fapp%2Fdemo%2Fmulti-select-basic-demo.html,src%2Fapp%2Fdemo%2Fmulti-select-basic-demo.ts
[maxSelectedLabels]="items.length"