LoginViewModel binding for Email not working
thoraj opened this issue · comments
First of all; thanks a lot for generously making this application and the videos available. This is invaluable for a WPF beginner like myself.
The issue we are exeriencing in the LogInView is that typing an email and pressing ENTER does not work (Email property is null). Clicking the button works as expected (Email property is populated).
Should not the Binding for the Email property work independently of how the command is invoked (ENTER or button-click)?
--
Thor A. Johansen
Good catch. We need to update the view model when the property changes, not on lost focus. UpdateSourceTrigger=PropertyChanged
. Fixed here ed9a5fb
Wow.
8 minutes to respond and fix :-)
I impressed and thankful.
Thanx
Thor Arne