You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the InputNumber component with minFractionDigits set to 2 or more, and a locale that uses a comma as a decimal separator, the cursor gets stuck on the first character when setting the decimal value.
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Dec 7, 2023
melloware
changed the title
Bug in InputNumber component: Cursor stuck when using minFractionDigits and comma as decimal separator
InputNumber: Cursor stuck when using minFractionDigits and comma as decimal separator
Dec 7, 2023
* Fix#5537 InputNumber text focus
* Fix#5548Fix#5589Fix#5607
* fix:InputNumber: Value pasted by the user is not entered when suffix and decimals are used
Describe the bug
When using the
InputNumber
component withminFractionDigits
set to 2 or more, and a locale that uses a comma as a decimal separator, the cursor gets stuck on the first character when setting the decimal value.Reproducer
https://codesandbox.io/p/sandbox/primereact-demo-forked-5cs9lm
PrimeReact version
10.2.1
React version
18.x
Language
TypeScript
Build / Runtime
Next.js
Browser(s)
No response
Steps to reproduce the behavior
minFractionDigits
to 2 or more inInputNumber
componentExpected behavior
The cursor should move freely, allowing the user to input decimal values without any hindrance.
The text was updated successfully, but these errors were encountered: