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

Numeric Input: Add Decimals or Mask #3590

Open
fredfortier opened this issue Jun 9, 2019 · 0 comments
Open

Numeric Input: Add Decimals or Mask #3590

fredfortier opened this issue Jun 9, 2019 · 0 comments

Comments

@fredfortier
Copy link

fredfortier commented Jun 9, 2019

Environment

  • Package version(s): 3
  • Browser and OS versions: Chromium/Linux

Feature request

Using the Numeric input feels a bit odd when formatting numbers. When I pass a formatted string value (e.g. Numeral(amount).format('0.0000')), the arrow buttons behave well but changing the value manually does not. I does not feel like control is meant to be used this way. Should the control have a decimals attribute or a native mask similar to Numeral?

Examples

I just want to be able to support different number format (e.g. '0.0000', '0,0.00').

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

No branches or pull requests

1 participant