insin / insin/react-maskedinput
Component doesn't submit in mozilla firefox
Open
- Dominant language
- JavaScript
- Stars
- 727
- Forks
- 191
- PR merge metrics
- No merged PRs in 30d
Description
Masked input doesn't submit when I run my application in Firefox. The problem ocurr when I try to submit my form pressing enter in the masked field. I think that is because:
In function onKeyPress it has
if (e.metaKey || e.altKey || e.ctrlKey || e.key === 'Enter') {
return;
}
but the key is NULL when I press enter in the field, then
e.preventDefault() stop my submit.
Contributor guide
Assessment
This issue has not been assessed yet.