MultiSelect: selectionLimit & floating label regression #14299
Labels
LTS-PORTABLE
Issue's fix will be ported to supported LTS versions
PRO Support
Issue was reported by PRO User
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
MultiSelect: selectionLimit is no longer taken into account and floating label not going back down on an empty list.
Environment
All
Reproducer
16.6.0 MultiSelect selectionLimit & floating label used to work fine.
https://stackblitz.com/edit/7hukqt?file=src%2Fapp%2Fdemo%2Fmulti-select-floatlabel-demo.html
16.7.0 Introduced a regression
https://stackblitz.com/edit/7hukqt-uv8snr?file=src%2Fapp%2Fdemo%2Fmulti-select-floatlabel-demo.html
16.8.0 Partial fix
https://stackblitz.com/edit/7hukqt-3fzbxz?file=src%2Fapp%2Fdemo%2Fmulti-select-floatlabel-demo.html
17.0.0 Still not completly fixed
https://stackblitz.com/edit/v72ptq?file=src%2Fapp%2Fdemo%2Fmulti-select-floatlabel-demo.html
Angular version
17.0.0
PrimeNG version
17.0.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.9.0
Browser(s)
Chrome
Steps to reproduce the behavior
PrimeNG 16.6.0:
=> Pass
PrimeNG 17.0.0:
=> Fail
Expected behavior
Should work as PrimeNG 16.6.0
The text was updated successfully, but these errors were encountered: