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

Closed
raggettii opened this issue Dec 9, 2024 · 4 comments · Fixed by #2682
Closed
Assignees
Labels
bug Something isn't working

Comments

@raggettii
Copy link
Contributor

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
Contributor 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.

@kumawatkaran523
Copy link

Please assign to me @palisadoes

@raggettii
Copy link
Contributor Author

I am working on the issue about to create a PR for the same

raggettii added a commit to raggettii/talawa-admin that referenced this issue Dec 18, 2024
raggettii added a commit to raggettii/talawa-admin that referenced this issue Dec 18, 2024
raggettii added a commit to raggettii/talawa-admin that referenced this issue Dec 18, 2024
varshith257 added a commit to raggettii/talawa-admin that referenced this issue Dec 19, 2024
varshith257 added a commit to raggettii/talawa-admin that referenced this issue Dec 19, 2024
@varshith257 varshith257 linked a pull request Dec 19, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

4 participants