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
What would you like to be added:
Currently, the "Test"-button ("execution" section) will submit the Check form, rendering the formState to be (technically) saved, when in fact the check has not been saved.
Any logic that revolves around wether or not the check has been saved or not stops working the second the "Test"-button is clicked.
I propose that the ad-hoc check is performed without submitting the form, which would let us leverage the built-in functionality of react-form-hook. Submitting the form equals saving the form data (saving the check).
The "Test"-button could/should include all the required logic to POST the form data (without submitting the actual form) to the ad-hoc check as well as render the result modal.
Affected features
Disable "Save" button when there are no modifications to the Check (or modifications are reset)
What would you like to be added:
Currently, the "Test"-button ("execution" section) will submit the Check form, rendering the formState to be (technically) saved, when in fact the check has not been saved.
Any logic that revolves around wether or not the check has been saved or not stops working the second the "Test"-button is clicked.
I propose that the ad-hoc check is performed without submitting the form, which would let us leverage the built-in functionality of
react-form-hook
. Submitting the form equals saving the form data (saving the check).The "Test"-button could/should include all the required logic to POST the form data (without submitting the actual form) to the ad-hoc check as well as render the result modal.
Affected features
Why is this needed:
Additional context
see #1024
The text was updated successfully, but these errors were encountered: