-
Notifications
You must be signed in to change notification settings - Fork 125
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
Reset form does not work on field name with dot notation #179
Comments
This is a great issue, thank you! |
Released: v2.0.1
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Field with
name
offoo.bar
, when submit will result in an object of{ foo: { bar: value } }
.However, when reset the form with the same object
{ foo: { bar: value } }
, the field withname
offoo.bar
does not get the value. Resetting with a flatten object e.g.{ "foo.bar": value } }
does the trick but it would be better if Formsy supports nested object out of the box since dot notation is supported on the fieldname
.The text was updated successfully, but these errors were encountered: