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

Problem in entering negative value in INPUTNUMBER. #1746

Closed
manuparashar3000 opened this issue Jan 9, 2021 · 3 comments
Closed

Problem in entering negative value in INPUTNUMBER. #1746

manuparashar3000 opened this issue Jan 9, 2021 · 3 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@manuparashar3000
Copy link

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours

I'm submitting a ... (check one with "x")

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

Current behavior

While entering a negative value in INPUTNUMBER the cursor moves to the end of the field. Further problems due to it

  1. If we put suffix we cant move cursor wothout again clicking on the field
  2. In case of using decimals cursor moves to the end of it.

Expected behavior without bug would be same as we are entering positive values in field

Minimal reproduction of the problem with instructions

Please tell us about your environment:

Widows, Visual Studio code,

  • React version:

yes issue can be examined on the site also

  • PrimeReact version:

yes bug can be realised on https://primefaces.org/primereact/showcase/#/setup too.

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Same for all the browsers

  • Language: [all | TypeScript X.X | ES6/7 | ES5]
  • all
@mertsincan
Copy link
Member

Hi,

I couldn't replicate this issue. With which example are you trying this in https://primefaces.org/primereact/showcase/#/inputnumber?

@mertsincan mertsincan added the Resolution: Cannot Replicate Issue could not be replicated by Core Team label Jan 10, 2021
@manuparashar3000
Copy link
Author

Hi mertsincan

Can u please try entering negative value in Currency Germany example given on https://primefaces.org/primereact/showcase/#/inputnumber

here as soon as u enter negative value there is no way to enter further value without clicking on the input field. as cursor is stuck after the suffix added for currency.

@manuparashar3000
Copy link
Author

Hi

Please provide update on the issue.

@mertsincan mertsincan added Type: Bug Issue contains a defect related to a specific component. and removed Resolution: Cannot Replicate Issue could not be replicated by Core Team labels Jan 27, 2021
@mertsincan mertsincan self-assigned this Jan 27, 2021
@mertsincan mertsincan added this to the 6.0.1 milestone Jan 27, 2021
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