Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InputNumber doesn't submit a form #2344

Closed
leqwasd opened this issue Oct 12, 2021 · 0 comments
Closed

InputNumber doesn't submit a form #2344

leqwasd opened this issue Oct 12, 2021 · 0 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@leqwasd
Copy link

leqwasd commented Oct 12, 2021

I'm submitting a ...

[ x ] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports)

https://codesandbox.io/s/primereact-issue-inputnumber-submit-5rgpz?file=/src/index.tsx

Current behavior
InputNumber pressing Enter doesn't submit a form it is in. InputText does submit it. So does native inputs.

Expected behavior
Pressing Enter within focused InputNumber component should submit a form.

  • React version: 16

  • PrimeReact version: 6.6.0

  • Browser: [Chrome XX]

  • Language: [all | TypeScript X.X | ES6/7 | ES5]

@mertsincan mertsincan self-assigned this Nov 4, 2021
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Nov 4, 2021
@mertsincan mertsincan added this to the 7.0.0.Final milestone Nov 4, 2021
walt1992 added a commit to walt1992/primereact that referenced this issue Feb 11, 2022
mertsincan pushed a commit that referenced this issue Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants