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
I've just noticed that #218 introduced a line that sends a SetFormState(Valid) action immediately after sending the Submit action. Not sure what the purpose of the change is but it results in no Submitting state. I noticed it because I disable the submit button on submit and it's no longer being disabled. If I log formState on render it stays Valid up until the form is successfully submitted. Is this intentional?
Hey @alexeygolev thanks for reporting. It's not intentional and i'ts probably a bug. I'll test the behavior and ping you with a better explanation for this issue.
cc @fakenickels
I've just noticed that #218 introduced a line that sends a
SetFormState(Valid)
action immediately after sending theSubmit
action. Not sure what the purpose of the change is but it results in noSubmitting
state. I noticed it because I disable the submit button on submit and it's no longer being disabled. If I logformState
on render it staysValid
up until the form is successfully submitted. Is this intentional?reform/reform/src/ReForm.res
Line 253 in 6c8d6de
The text was updated successfully, but these errors were encountered: