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

Search retains previous input after closing the modal instead of resetting to default data #2627

Open
raggettii opened this issue Dec 9, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@raggettii
Copy link

Describe the Bug
The search input and results persist after closing the modal, instead of resetting to the default state upon reopening.

To Reproduce
Steps to reproduce the behavior:

1.Log in as SuperAdmin.
2.In My Organization, click on Manage for any organization.
3.Navigate to the List of Members/Admins.
4.Click on Add Members -> Existing User.
5.Search for any user (without adding anyone), close the modal, and then reopen Add Members -> Existing User.

Expected Behavior
When reopening the modal after closing, the search input and results should reset to the default state (showing the initial data).

Actual Behavior
After closing and reopening the modal, the previously searched input and results persist instead of showing the default data.

Screenshots
It should open as it does initially:
initially

Instead, it displays the earlier searched data:
after_searching

Additional Details
Add any other relevant context or screenshots about the issue here.

Potential Internship Candidates
If you are planning to apply for a Palisadoes Foundation internship, please refer to the following link:

PalisadoesFoundation/talawa#359

@raggettii raggettii added the bug Something isn't working label Dec 9, 2024
@raggettii
Copy link
Author

Please assign this to me @palisadoes

Copy link

github-actions bot commented Dec 9, 2024

Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants