Skip to content

Form Fields Not Resetting in API Delete Dialog #2296

@Vardhaman619

Description

@Vardhaman619

Preliminary Checks

Reproduction / Replay Link (Optional)

No response

Issue Summary

When using the API delete dialog, the form fields are not resetting after reopening the dialog. Their state persists even after closing and reopening the dialog.

Steps to Reproduce

  1. Navigate to Dashbaord -> APIs -> Select anyone API -> API Settings -> Click on Delete API
  2. Open the Delete API dialog.
  3. Enter some data in the input fields.
  4. Close the dialog.
  5. Reopen the dialog.
  6. Check that input fields retain the values entered in the previously.

Expected behavior

Upon reopening the delete dialog, the input fields should be reset to their default state. The previous input values should not persist after the dialog is closed.

Other information

Actual Result:

The input fields retain the values entered in the previously.

Expected Result:

The input fields should be reset to their default (empty) state upon reopening the dialog.

Screenshots

delete-api-input-state-persist-issue.webm

Version info

.

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions