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 - maxSelectionLimit not refreshed after clear called #12906

Closed
zymon opened this issue Apr 18, 2023 · 0 comments · Fixed by #12930
Closed

MultiSelect - maxSelectionLimit not refreshed after clear called #12906

zymon opened this issue Apr 18, 2023 · 0 comments · Fixed by #12930
Assignees
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

Comments

@zymon
Copy link

zymon commented Apr 18, 2023

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

@zymon zymon added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 18, 2023
@cetincakiroglu cetincakiroglu added this to the 15.4.2 milestone Apr 24, 2023
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Apr 24, 2023
cetincakiroglu added a commit that referenced this issue Apr 24, 2023
Fix: #12906 - MultiSelect - maxSelectionLimit not refreshed after cle…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants