jasontaylordev / RapidBlazor

Clean Architecture Solution Template for Blazor WebAssembly .NET 7
MIT License
295 stars 54 forks source link

UI does not update when toggling "done" after editing a todo item #1

Closed erinnmclaughlin closed 2 years ago

erinnmclaughlin commented 2 years ago

Hi! First off, thank you for making this -- I've been looking for this kind of example project for a while! This will be a really helpful reference.

Wanted to report a small bug: after focusing on a todo item, the strikethrough formatting doesn't update when toggling between "done" and "not-done" states. I think the simplest fix would be to set the SelectedItem to null after saving:

https://github.com/jasontaylordev/CleanArchitectureBlazor/compare/main...erinnmclaughlin:CleanArchitectureBlazor:main

I could make a PR if you'd like?

jasontaylordev commented 2 years ago

Hi @erinnmclaughlin - you're welcome + thanks for raising this issue. Please raise a PR and I'll push the fix through. Happy coding! 😀