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

Editing and saving one todo clears input fields of other todos #107

Open
Aaronvern opened this issue Apr 26, 2024 · 1 comment
Open

Editing and saving one todo clears input fields of other todos #107

Aaronvern opened this issue Apr 26, 2024 · 1 comment

Comments

@Aaronvern
Copy link

In todo project (located in 10todocontextLocal/src/App.jsx) location I've noticed an issue with the input fields of todo items. When editing and saving one todo item, the input fields of other todo items are unexpectedly cleared. This problem seems to come from how todos are updated in the updateTodo function within the App.jsx file. I would appreciate any assistance in resolving this issue. Thank you!

@sameekshaagupta
Copy link

sure give me your repo link

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

No branches or pull requests

2 participants