Component: Chips | A chip generated on pressing enter key to confirm input #14720
Labels
Resolution: Needs More Information
More information about the issue is needed to find a correct solution
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
As per the video below, when pressing the enter key to confirm input, a new chip is created.
Before version 16.7.0, this behavior did not occur.
chips-bug.mov
Environment
win11/chrome latest, macOS12/chrome latest
Reproducer
No response
Angular version
17.1
PrimeNG version
17.5.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.19.0
Browser(s)
Chrome 121
Steps to reproduce the behavior
No response
Expected behavior
Not generate chip on pressing enter key to confirm input.
For example, use
event.keyCode === 13
intead ofevent.code === 'Enter'
The text was updated successfully, but these errors were encountered: