Closed justb3a closed 1 year ago
remix-validated-form
@remix-validated-form/with-zod
@remix-validated-form/with-yup
zod-form-data
"@remix-validated-form/with-zod": "2.0.6", "remix-validated-form": "5.0.1",
https://codesandbox.io/s/old-night-4m8mpr?file=/app/routes/index.tsx
ValidationForm
method
isSubmitting
useFormContext
useIsSubmitting
true
After the form has been submitted, the loading state is set to false.
I tried a rollback to
"@remix-validated-form/with-zod": "2.0.5", "remix-validated-form": "4.6.12",
with 4.6.12 everything works as expected!.
No response
macOS (latest) checked in latest chrome and firefox
Fixed in v5.0.2! 😄
Thanks, should have waited one more day 🙈 🤣 Now it works again as expected.
Which packages are impacted?
remix-validated-form
@remix-validated-form/with-zod
@remix-validated-form/with-yup
zod-form-data
What version of these packages are you using?
"@remix-validated-form/with-zod": "2.0.6", "remix-validated-form": "5.0.1",
Please provide a link to a minimal reproduction of the issue.
https://codesandbox.io/s/old-night-4m8mpr?file=/app/routes/index.tsx
Steps to Reproduce the Bug or Issue
ValidationForm
containing an input field. Do not specify anymethod
, so that it defaults to GET.isSubmitting
state, either fromuseFormContext
or fromuseIsSubmitting
isSubmitting
equalstrue
true
, never-ending-loading-state…Expected behavior
After the form has been submitted, the loading state is set to false.
I tried a rollback to
with 4.6.12 everything works as expected!.
Screenshots or Videos
No response
Platform
macOS (latest) checked in latest chrome and firefox
Additional context
No response