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

[BUG] subscribe form retains incorrect data after subscription failure it should clear data after an error. #3622

Open
2 tasks done
zalabhavy opened this issue Jan 29, 2025 · 0 comments · May be fixed by #3623
Open
2 tasks done
Labels

Comments

@zalabhavy
Copy link
Contributor

Describe the bug.

Screen.Recording.2025-01-29.at.10.02.28.PM.mov

When the newsletter subscription fails, the form still displays the incorrect data after 10 seconds when it reloads. The form should clear the input fields (email and name) after an error to prevent showing invalid data upon reload.

Expected behavior

clear incorrect data after subscription failure.

Screenshots

After Correction

Screen.Recording.2025-01-29.at.10.07.25.PM.mov

How to Reproduce

I will add condition if data is false and give some error so clear inputs of form.

🥦 Browser

Google Chrome

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

@zalabhavy zalabhavy added the bug label Jan 29, 2025
@zalabhavy zalabhavy linked a pull request Jan 29, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant