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

Page form state not updated after submit #394

Open
aszenz opened this issue Jul 24, 2023 · 0 comments
Open

Page form state not updated after submit #394

aszenz opened this issue Jul 24, 2023 · 0 comments

Comments

@aszenz
Copy link

aszenz commented Jul 24, 2023

In case of successful form submit, the form state is not reinitialized from app.data.

After successfully submitting the form it should reflect what got saved in the back-end and not what the user had entered in the form previously.

When javascript is disabled, this works by doing a redirect to the get route of the form which fetches the saved form state and initializes the form again, the same behavior should be present with javascript on.

Primary use case is to ensure that the user always sees the saved values of the form, in some cases the saved value is also different from the user input.

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

1 participant