8000 Page Reloading Issue During Form Submission in json-server · Issue #4034 · jaredpalmer/formik · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Page Reloading Issue During Form Submission in json-server #4034

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

Open
Vijay9457 opened this issue May 16, 2025 · 0 comments
Open

Page Reloading Issue During Form Submission in json-server #4034

Vijay9457 opened this issue May 16, 2025 · 0 comments

Comments

@Vijay9457
Copy link

Issue:
While submitting form data to the json-server, the page is unexpectedly reloading instead of performing a seamless data submission. This behavior disrupts the user experience and results in data loss or duplication.

Steps to Reproduce:

Navigate to the form submission page.

Fill in the form with valid data.

Click the submit button.

Observe that the entire page reloads instead of just sending a POST request to the json-server.

Expected Behavior:

The form data should be submitted to the json-server via an asynchronous POST request without reloading the entire page.

The user should receive a confirmation or error message based on the server response.

Actual Behavior:

The page reloads, causing the input data to be cleared and interrupting the flow.

Form created using React.js ,Typescript , Formik ,Yup validation and Json server

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

No branches or pull requests

1 participant
0