Skip to content

Add / Edit Rotation Form should not clear when validation fails

What

When a rotation is added and the form validation fails, the rotation form clears when it shouldn't:

edit form edit form with change (hours -> days) after submit
Screen_Shot_2021-03-15_at_12.00.38_PM Screen_Shot_2021-03-15_at_12.00.47_PM Screen_Shot_2021-03-15_at_12.00.53_PM

See: !54892 (comment 529619797)

Expected result

The form should not clear on validation failure.

Actual

The form clears on validation failure.

Edited by David O'Regan