SC Form Reset Clearing Status

Wappler Version : 4.5.3
Operating System : W10
Server Model: NodeJS

Expected behavior

Form reset should not reset the data part of the form, unless “clear data” option is checked.
This is how it was working before this new option was introduced.

Actual behavior

On reset, form’s status information is being reset.
In a successful form, scForm.status should be 200, even after reset. But it becomes 0.

How to reproduce

Create a form. Set form to reset on success, or any other event.
Check the status in dev console after selected event - it will be 0.

This will be fixed in the next update.

Fixed in Wappler 4.6.2

This topic was automatically closed after 5 days. New replies are no longer allowed.