Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiselect applies disabled UI state to all items when selectionLimit is reached and chip is removed #10734

Closed
CarlosBustos1 opened this issue Oct 12, 2021 · 0 comments
Assignees
Labels
LTS-FIXED-11.4.7 Fixed in PrimeNG LTS 11.4.7 Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@CarlosBustos1
Copy link

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

(https://stackblitz.com/edit/primeng-multiselect-demo-diortg)

**Current behavior**
When selectionLimit is used and the limit is reached, if I remove a chip, the items remains with disabled state

**Expected behavior**
The items must be enabled when selectionLimit is not reached

**Minimal reproduction of the problem with instructions**
[](https://stackblitz.com/edit/primeng-multiselect-demo-diortg)

1. Reach the selectionLimit of the multiselect
2. Remove a value from the multiselected clicking a chip
3. The items still disabled even though the limit was not reached.


* **Angular version:** 12.0.0

* **PrimeNG version:** 12.0.5

* **Browser:** [all]
 
* **Language:** [all]
@yigitfindikli yigitfindikli added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Oct 13, 2021
@yigitfindikli yigitfindikli self-assigned this Oct 13, 2021
@yigitfindikli yigitfindikli added this to the 12.2.1 milestone Oct 13, 2021
@yigitfindikli yigitfindikli added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working LTS-PORTABLE and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Oct 13, 2021
@yigitfindikli yigitfindikli added LTS-FIXED-11.4.7 Fixed in PrimeNG LTS 11.4.7 and removed LTS-PORTABLE labels Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTS-FIXED-11.4.7 Fixed in PrimeNG LTS 11.4.7 Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants