-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possibleIssue will be reviewed by Core Team and a relevant label will be added as soon as possible
Description
Describe the bug
When using inside a form, pressing Enter while the suggestion dropdown is open does not trigger the form’s submit event on the first press. The form only submits on subsequent Enter presses.
Pull Request Link
No response
Other Reason
No response
Reproducer
https://stackblitz.com/edit/ssz34nqa-cdznyful
Environment
Windows OS
Angular version
20.1.4
PrimeNG version
v20
Node version
v22.15.0
Browser(s)
No response
Steps to reproduce the behavior
- Click on input
- Type untill dropdown appears
- Without selecting any option from dropdown, press Enter
Expected behavior
Dropdown closed and submit triggered.
Current behaviour
Dropdown closed and submit not triggere on first Enter press.
andriistetsyuk
Metadata
Metadata
Assignees
Labels
Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possibleIssue will be reviewed by Core Team and a relevant label will be added as soon as possible