We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PS: I know this component is in Beta state, just reporting to put it on the radar if it is not yet.
The CurrencyInput has a pattern="\d*" (here) that is not allowing numbers with dots or commas.
pattern="\d*"
##Screenshots
Steps to reproduce the behavior:
CurrencyInput
No error is thrown
Form validation raises an error asking to provide a value matching the specified format
Create a form that will ask for the value of something in dollars.
NextJS application with Formik
Desktop (please complete the following information):
Possible Solution I don't think this format is needed, so maybe just remove it or create a pattern that allows dots and commas
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
PS: I know this component is in Beta state, just reporting to put it on the radar if it is not yet.
The CurrencyInput has a
pattern="\d*"
(here) that is not allowing numbers with dots or commas.##Screenshots
To Reproduce 🕹
Steps to reproduce the behavior:
CurrencyInput
componentExpected Behavior 🤔
No error is thrown
Current Behavior 😯
Form validation raises an error asking to provide a value matching the specified format
Context 🔦
Create a form that will ask for the value of something in dollars.
Your Environment 🌎
NextJS application with Formik
Desktop (please complete the following information):
Possible Solution
I don't think this format is needed, so maybe just remove it or create a pattern that allows dots and commas
The text was updated successfully, but these errors were encountered: