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

Input Values Not Resetting in Delete Dialogs #2521

Closed
3 tasks done
Vardhaman619 opened this issue Oct 21, 2024 · 8 comments · Fixed by #2546
Closed
3 tasks done

Input Values Not Resetting in Delete Dialogs #2521

Vardhaman619 opened this issue Oct 21, 2024 · 8 comments · Fixed by #2546

Comments

@Vardhaman619
Copy link
Contributor

Preliminary Checks

Reproduction / Replay Link (Optional)

No response

Issue Summary

The form field values in the delete dialogs for roles and permissions do not reset after the dialogs are closed and reopened. This can lead to user confusion, as previously entered values remain in the fields.

Steps to Reproduce

  1. Navigate to the dashboard.
  2. Go to Authorization > Roles > Role > Delete Role.
  3. Open the delete dialog and enter a value.
  4. Close the dialog.
  5. Reopen the delete dialog.
  6. Observe that the input field still contains the previously entered value.
  7. Repeat the steps for Authorization > Permissions > Permission > Delete Permission.

Expected behavior

The input fields in the delete dialogs should reset to their default state (empty) each time the dialog is closed and reopened.

Other information

This issue affects the user experience and could lead to accidental deletions if users are not aware that the input field retains previous values.

Screenshots

delete-dialog-form-field-value-not-reset-after-reopen.webm

Version info

.
@Vardhaman619 Vardhaman619 added Bug Something isn't working Needs Approval Needs approval from Unkey labels Oct 21, 2024
Copy link

linear bot commented Oct 21, 2024

@Vardhaman619
Copy link
Contributor Author

Hi, once the labeling is done, could you please assign this issue to me? I would like to work on it.

@chronark
Copy link
Collaborator

This probably happens in all dialogs, can you fix it everywhere?
/award 150

Copy link

oss-gg bot commented Oct 23, 2024

Awarding Vardhaman619: 150 points 🕹️ Well done! Check out your new contribution on oss.gg/Vardhaman619

@Vardhaman619
Copy link
Contributor Author

/assign

Copy link

oss-gg bot commented Oct 23, 2024

Assigned to @Vardhaman619! Please open a draft PR linking this issue within 48h ⚠️ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically 🕹️ Excited to have you ship this 🚀

@nepalankit
Copy link

/assign

Copy link

oss-gg bot commented Oct 24, 2024

This issue is already assigned to another person. Please find more issues here.

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