pKeyFilter stops Enter key from submitting form in Firefox #13246
Labels
LTS-PORTABLE
Issue's fix will be ported to supported LTS versions
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
If an input in a form has pKeyFilter="pint" on it, you can't submit the form just by pressing the Enter key.
This issue is identical to #5931 but applies specifically to Firefox. It is not an issue in in Chrome 114.0.5735.134.
Environment
An Angular application with forms
Reproducer
https://stackblitz.com/edit/js7ac5?file=src%2Fapp%2Fdemo%2Fkey-filter-presets-demo.ts
Angular version
15.2.1, 16.0.0
PrimeNG version
15.2.0, 16.0.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.12.1
Browser(s)
Firefox 114.0.1 (64-bit)
Steps to reproduce the behavior
<form>
element with a method bound to(ngSubmit)
.<input>
element withpKeyFilter="pint"
inside the<form>
.(ngSubmit)
is not called.Expected behavior
Pressing Enter should call the method bound to
(ngSubmit)
.The text was updated successfully, but these errors were encountered: