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

Component: p-inputNumber big issues with mode=currency and currency property #14227

Closed
erber014 opened this issue Nov 28, 2023 · 4 comments
Closed
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@erber014
Copy link

erber014 commented Nov 28, 2023

Describe the bug

Currency mode with certain currencies seems to be messy. Test for example typing in a negative amount in the euro field in
https://primeng.org/inputnumber#currency. When you do the cursor jumps to the end of the input field and you cannot enter anything without placing the cursor somewhere in the number manually using your mouse. The euro currency is not the only one with issues, just check the official inputNumber page...

Environment

https://primeng.org/inputnumber#currency

Reproducer

No response

Angular version

Whatever the official site uses

PrimeNG version

v17.0.0-beta.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

Whatever the official site uses

Browser(s)

No response

Steps to reproduce the behavior

https://primeng.org/inputnumber#currency

Expected behavior

Currency mode should work properly for all supported currencies..

@erber014 erber014 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Nov 28, 2023
@mertsincan
Copy link
Member

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap?
Please don't forget to add your feedback as a comment after reopening the issue. These will be taken into account by us and will contribute to the development of this feature. Thanks a lot for your understanding!

Best Regards,

@uebelmar
Copy link
Contributor

uebelmar commented Dec 4, 2024

@mertsincan

This bug can be reproduced within seconds. Why is the bug being closed with a standard response instead of reviewing the details provided by the user?

As mentioned, the issue is easy to replicate: visit https://primeng.org/inputnumber#currency and enter "-2" into the Euro field

@mertsincan
Copy link
Member

@uebelmar, details; #17069

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

4 participants