AutoComplete: Cannot intercept enter key #16160
Labels
LTS-16-PORTABLE
LTS-FIXED-16.9.15
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
v18-port
Milestone
Describe the bug
When using the autocomplete component, it is not possible to listen for an enter key press.
I assume the reason is that the enter key is used to confirm a selected autocomplete. However, if no option is selected, the keypress event should still trigger.
Environment
primeng master version
Reproducer
No response
Angular version
18.0.2
PrimeNG version
master
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
22.4.1
Browser(s)
No response
Steps to reproduce the behavior
searchFieldKeyPress
will never be called with the enter key.Expected behavior
No response
The text was updated successfully, but these errors were encountered: