MultiSelect: selectionLimit does not limit selections #6391
Labels
Resolution: Duplicate
Issue has already been reported or a pull request related to same issue has already been submitted
Milestone
Describe the bug
When using MultiSelect with a selectionLimit (for example a selection limit of 2) the component still allows me to select an unlimited amount of options.
Reproducer
https://stackblitz.com/edit/vitejs-vite-qu7tmj?file=src%2FApp.tsx
PrimeReact version
10.5.1
React version
18.x
Language
TypeScript
Browser(s)
ALL
Steps to reproduce the behavior
Expected behavior
This should only allow you to select whatever the limit is set to, but it does not
The text was updated successfully, but these errors were encountered: