primefaces / primefaces/primereact

InputNumber: change event not triggered from browser suggestions

Open
#6,345 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: Discussion
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.