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

[Bug]: Currency input takes comma when pasting the value directly, but doesn't accept when binding #12397

Open
1 task done
SatishGandham opened this issue Mar 30, 2022 · 0 comments
Assignees
Labels
Bug Something isn't working Currency Input Widget Issues related to currency input widget High This issue blocks a user from building or impacts a lot of users Needs Triaging Needs attention from maintainers to triage Production Widgets & Accelerators Pod Issues related to widgets & Accelerators Widgets Product This label groups issues related to widgets

Comments

@SatishGandham
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Description

When you paste 1,200.99 into currency widget it works.

But pass in the same value via binding, it throws an error.

Note: Please be careful when solving this, we should not accidentally truncate the values when editing other fields in the record.

Steps To Reproduce

  1. Add currency widget to canvas
  2. Add a two text widget to show to show currencywidget.value, currencywidget.text
  3. Add a input widget and bind its value to currency widget above.
  4. type 1200 into input widget, bindings from step to work fine. value will be 1200, text will be 1,200
  5. Type 1,200 into input widget from step 3, currency widget will throw an error.

Public Sample App

No response

Version

cloud

@SatishGandham SatishGandham added Bug Something isn't working Needs Triaging Needs attention from maintainers to triage labels Mar 30, 2022
@Nikhil-Nandagopal Nikhil-Nandagopal added Production High This issue blocks a user from building or impacts a lot of users Currency Input Widget Issues related to currency input widget labels Mar 2, 2024
@github-actions github-actions bot added the Widgets Product This label groups issues related to widgets label Mar 6, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added the Widgets & Accelerators Pod Issues related to widgets & Accelerators label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Currency Input Widget Issues related to currency input widget High This issue blocks a user from building or impacts a lot of users Needs Triaging Needs attention from maintainers to triage Production Widgets & Accelerators Pod Issues related to widgets & Accelerators Widgets Product This label groups issues related to widgets
Projects
None yet
Development

No branches or pull requests

3 participants