Multiselect adds items previously selected by clicking on the "select all" toggle ('Advanced with Templating and Filtering') #2341
Labels
Type: Bug
Issue contains a defect related to a specific component.
Milestone
There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
Codesandbox Case (Bug Reports)
https://codesandbox.io/s/0lujv
Current behavior
MultiSelect- Advanced with Templating and Filtering: multiselect adds items previously selected by clicking on the "select all" toggle.
Expected behavior
If there are 10 items click on the 'select all' toggle and select those 10 items.
Minimal reproduction of the problem with instructions
display the component: 'Advanced with Templating and Filtering', then select at least one element, then click in 'select all' toggle.
If multiselect has 10 elements and you select 2, then you select all, the total elements will be 12 not 10
Please tell us about your environment:
S.O .- Windows 10
Package: Node
React version:
17.0.2
PrimeReact version:
6.6.0
Browser:
Chrome, Brave
Language:
Javascript
The text was updated successfully, but these errors were encountered: