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 - SelectionLimit #6121

Closed
Nandovga opened this issue Mar 8, 2024 · 0 comments · Fixed by #6218
Closed

MultiSelect - SelectionLimit #6121

Nandovga opened this issue Mar 8, 2024 · 0 comments · Fixed by #6218
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@Nandovga
Copy link

Nandovga commented Mar 8, 2024

Describe the bug

The SelectionLimit property set to 1 allows you to select more than one element.

<MultiSelect optionLabel="name"
             options={data}
             optionValue="id"
             selectionLimit={1}
             value={select}
             onChange={e => setSelect(e.value)}/>

Reproducer

No response

PrimeReact version

10.5.1

React version

18.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Chrome

Steps to reproduce the behavior

No response

Expected behavior

No response

@Nandovga Nandovga added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Mar 8, 2024
@Nandovga Nandovga changed the title MultiSelect Component MultiSelect - SelectionLimit Mar 8, 2024
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Mar 8, 2024
@melloware melloware added this to the 10.6.4 milestone Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants