You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click on submit button and you will see Required area error, Set value in area field and submit form, it submit the form and reset it after that click again on submit button you will see it will not give you Required area error. I don't know why this happen.
Now change value: values.floatValue to value: values.value in NumberField file and everything work well. I don;t know why it is not working when I set floatValue I need numeric values not string.
The text was updated successfully, but these errors were encountered:
Current Behavior 😯
I'm using
react-number-format
library if numeric values is set toTextField
it will not show any error after reset the form.Expected Behavior 🤔
It should accept the numeric values also like other string values
Steps to Reproduce 🕹
Here is my code you are reproduce error from this.
Formik Form
NumberField
Click on submit button and you will see
Required area
error, Set value inarea
field and submit form, it submit the form and reset it after that click again on submit button you will see it will not give youRequired area
error. I don't know why this happen.Now change
value: values.floatValue
tovalue: values.value
in NumberField file and everything work well. I don;t know why it is not working when I setfloatValue
I need numeric values not string.The text was updated successfully, but these errors were encountered: