You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
That former behavior is correct. Suppose you typed in the wrong email unintentionally. Now, you would want the previous one to be displayed in the input fields so you can correct those and re-submit the form.
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?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: