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

AutoComplete: Regression in Enter Key Selection Issue #6317

Closed
lmb-it opened this issue Apr 6, 2024 · 2 comments · Fixed by #6365
Closed

AutoComplete: Regression in Enter Key Selection Issue #6317

lmb-it opened this issue Apr 6, 2024 · 2 comments · Fixed by #6365
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted
Milestone

Comments

@lmb-it
Copy link

lmb-it commented Apr 6, 2024

Describe the bug

A regression has been identified in the AutoComplete component related to the Enter key selection.

When click the item from list by mouse it works fine
But the issue when select an option by pressing the Enter key, the expected value is not passed to the event handler; instead, undefined is received.
This issue, which had been previously resolved, has resurfaced in the latest release.

https://primereact.org/autocomplete/#multiple
https://primereact.org/autocomplete/#forceselection

Reproducer

No response

PrimeReact version

10.6.2

React version

18.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

all

Steps to reproduce the behavior

No response

Expected behavior

No response

@lmb-it lmb-it 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 6, 2024
@melloware melloware added Component: Accessibility Issue or pull request is related to WCAG or ARIA 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 6, 2024
@melloware

This comment has been minimized.

@melloware
Copy link
Member

Duplicate of #6277

@melloware melloware marked this as a duplicate of #6277 Apr 6, 2024
@melloware melloware added Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted and removed Component: Accessibility Issue or pull request is related to WCAG or ARIA labels Apr 6, 2024
@melloware melloware added this to the 10.6.4 milestone Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants