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: When using Chip and hitting the limit of selectionLimit, Chip close/unselect button becomes disabled #16520

Open
Yodamdam opened this issue Oct 11, 2024 · 1 comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Milestone

Comments

@Yodamdam
Copy link

Describe the bug

When using the display chip, and selectionLimit together, when your input reaches the specified selectionLimit, the cross button of all chips become disabled along with the options.

Environment

Dev

Reproducer

No response

Angular version

17.3.3

PrimeNG version

17.18.6

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.11.1

Browser(s)

Chrome 128

Steps to reproduce the behavior

  1. Have a multiselect input with display=chip and selectionLimit=2
  2. Fill that input with a single value => the chip cross button is enabled and working
  3. Fill that input to have 2 values (the value of selectionLimit) => the chips cross buttons are disabled and not working

Expected behavior

When reaching the selectionLimit amount of results, only the options and the select all should be disabled not the cross of the chips displayed.

@Yodamdam Yodamdam added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 11, 2024
@mertsincan mertsincan added Resolution: Help Wanted Issue or pull request requires extra help and feedback and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 19, 2024
@mertsincan mertsincan added this to the Future milestone Nov 19, 2024
Copy link

Due to PrimeNG team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨

@github-project-automation github-project-automation bot moved this to Review in PrimeNG Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Projects
Status: Review
Development

No branches or pull requests

2 participants