Client info save resets form contents before knowing if save is successful
scott-r opened this issue · comments
doSave()
calls saveAndUpdateClient()
which (asynchronously) saves the form content. Then it resets the form values without knowing if the save operation succeeded. If it fails, the form is no longer dirty (so Save and Cancel buttons are disabled) but the editing state is still set to true.