primefaces / primefaces/primereact
InputNumber: change event not triggered from browser suggestions
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Input number change does not get triggered from browser suggestions. If you then type stuff by keyboard the state change gets trigerred, if you use suggestions once again it doesnt. And the value of form value remains undefined.
Reproducer
No response
PrimeReact version
10.6.2
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Chrome
Steps to reproduce the behavior
https://github.com/primefaces/primereact/assets/46688616/f7a1489b-3658-4ff4-8f8c-3f38073dbc5a
Expected behavior
Should trigger onChange value and treat as keyboard input
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is identified. Start by reproducing the InputNumber behavior in Chrome with PrimeReact 10.6.2 and the linked recording, then trace how browser suggestions differ from keyboard input; done means suggestions trigger onChange and update the form value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100