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

Decimal points in monetary input group #441

Open
MarkWBC opened this issue Feb 7, 2019 · 1 comment
Open

Decimal points in monetary input group #441

MarkWBC opened this issue Feb 7, 2019 · 1 comment
Assignees

Comments

@MarkWBC
Copy link

MarkWBC commented Feb 7, 2019

screen shot 2019-02-07 at 1 15 42 pm

Some scenarios to consider:

• A user skips over the 'Rounded to the nearest $100'. They enter a dollar amount as well as cents e.g 200.50. What happens next?
• A user enters a different currency mark eg £. What happens next?

Potential solution:
Preferred

  • Limit the field to numbers only
  • Update Hint Text to include other input requirements/restrictions

Last resort

  • Use error states to communicate input requirements

Not recommended

  • Rounding numbers on behalf of the customer is taking control away from them, changing expectations, and potentially jarring.
@jonnystening
Copy link
Contributor

jonnystening commented May 15, 2019

This level of input validation detail has not previously been part of our approach from a GUI component perspective. It is more of an implementation concern, but I agree should be communicated in future pattern documentation.

@MarkWBC let's discuss

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

No branches or pull requests

2 participants