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

Input number caret issue with negatives #10565

Closed
AdrienHallet opened this issue Aug 31, 2021 · 0 comments
Closed

Input number caret issue with negatives #10565

AdrienHallet opened this issue Aug 31, 2021 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@AdrienHallet
Copy link

I'm submitting a ...

[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports)
The showcase itself can demonstrate the bug

Current behavior
Negative input skips to end of line after first number, even after the suffix, preventing usage of the field until caret is positioned again.

Expected behavior
Same as the positive input

Minimal reproduction of the problem with instructions

  1. Focus on number input
  2. Input '-' sign
  3. Input any number
@mertsincan mertsincan self-assigned this Sep 7, 2021
@mertsincan mertsincan added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Sep 7, 2021
@mertsincan mertsincan added this to the 12.1.1 milestone Sep 7, 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 bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants