Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client info save resets form contents before knowing if save is successful #193

Open
scott-r opened this issue Jul 16, 2024 · 1 comment
Assignees

Comments

@scott-r
Copy link
Collaborator

scott-r commented Jul 16, 2024

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.

@kjain14 kjain14 self-assigned this Oct 7, 2024
@kjain14
Copy link
Collaborator

kjain14 commented Jan 7, 2025

Updating a dependent and then clicking cancel does not reset the updated value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants