MultiSelect - maxSelectionLimit not refreshed after clear called #12906
Labels
LTS-FIXED-14.2.7
LTS-PORTABLE
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Use p-multiSelect with options: [selectionLimit]="2" and [showClear]="true".
Select 2 items, then press clear button. All options remain disabled. This is because the clear() method doesn't call checkSelectionLimit().
Environment
Chrome
Reproducer
No response
Angular version
13.2.3
PrimeNG version
13.4.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
Browser(s)
Chrome 111.0.5563.111
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: