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 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant