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

[Amount] : Support required for negative value in amount component #2314

Open
PujanShah22 opened this issue Jul 19, 2024 · 3 comments
Open
Assignees
Labels
P0 Critical

Comments

@PujanShah22
Copy link
Contributor

https://razorpay.slack.com/archives/CMQ3RBHEU/p1721300485153729

@saurabhdaware saurabhdaware added the P0 Critical label Jul 19, 2024
@saurabhdaware saurabhdaware self-assigned this Jul 19, 2024
@saurabhdaware
Copy link
Member

Update: Currently even with fix for minus sign we're switching the positions of symbol. E.g.- -1000₹

But I checked with design and it should be this - -₹1000

As you're unblocked for now, we'll get it checked from i18nify team and implement the final state of -₹1000. If that's taking too long then we'll go with -1000₹ until then.

@PujanShah22
Copy link
Contributor Author

ack.

@saurabhdaware
Copy link
Member

There are some v8 nodejs inconsistencies with browser in Intl library which makes amount output 2 different things in browser vs nodejs in below node 19 versions. Checking with the i18nify team on what can be done. You can continue to use your previous amount component meanwhile

https://razorpay.slack.com/archives/C05RBSKC6KD/p1723457565335889

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 Critical
Projects
None yet
Development

No branches or pull requests

2 participants