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
After the resetAll function is run manually, the errors and fields state objects' first field (by that I mean the first field listed in the config) get transformed into numeric keys and values that represent each letter of that first field. This creates some non-existing non-sensical fields and errors, essentially removing the first field from those objects.
This can be fixed by passing null as the second argument to the corresponding reduce functions in the _this.onReset return block in the dist/Form.js.
Please fix it since I unfortunately do not have time for doing PRs.
The text was updated successfully, but these errors were encountered:
After the
resetAll
function is run manually, theerrors
andfields
state objects' first field (by that I mean the first field listed in the config) get transformed into numeric keys and values that represent each letter of that first field. This creates some non-existing non-sensical fields and errors, essentially removing the first field from those objects.This can be fixed by passing
null
as the second argument to the corresponding reduce functions in the_this.onReset
return block in thedist/Form.js
.Please fix it since I unfortunately do not have time for doing PRs.
The text was updated successfully, but these errors were encountered: