[🐞] onSubmitCompleted$ is always triggered, even when fails #301
Replies: 5 comments
-
|
I opened the PR 4397 that fix it. |
Beta Was this translation helpful? Give feedback.
-
|
Wondering if this is an bug. We could add add |
Beta Was this translation helpful? Give feedback.
-
|
HI @manucorporat. What is exactly your doubt if it is a bug or not? Can you explain in detail your thoughts? Regarding the submit failure, I ran it many times the tests locally and it works, tbh I don't have any clue why it is failing via CI. I checked out the logs but I didn't find out the root cause. I will review the code again and try to apply your suggestion: add Thank you to take a look at it. |
Beta Was this translation helpful? Give feedback.
-
|
the API should be reworked maybe in v2 |
Beta Was this translation helpful? Give feedback.
-
|
We moved this issue to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Which component is affected?
Qwik Runtime
Describe the bug
According to the documentation
onSubmitCompleted$should be executed right after the action is executed successfully and returns some data. The issue: it is always executed no matter Zod validation fails or I returnfailinsideactionRoute$.Reproduction
N/A
Steps to reproduce
You can use this code:
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions