Obj-Validate rule wiping out the section field values on Submit
When submitting a flow action, the edit validate rule fires and catches the error only the first time. Without changing the incorrect values the user can submit again and proceed without triggering the validation rule.
Steps to Reproduce
1. Create a section and add two date fields. Example: Start date and End date.
2. Create a flow-action corresponding to the above section, and configure obj-validate rule in flow action validate tab. Validation should fail if End date is before the Start date.
3. In run time enter End date less than Start date and click on Submit button. Observe that the validation error fires correctly, and the error message is observed.
4. Now again click on Submit button again, and observe that the date value wipes out.
This issue is observed becaue resetDatetimeHidden API empties the date field's value.
0% found this useful