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

LoginViewModel binding for Email not working #26

Closed
thoraj opened this issue Oct 10, 2018 · 2 comments
Closed

LoginViewModel binding for Email not working #26

thoraj opened this issue Oct 10, 2018 · 2 comments

Comments

@thoraj
Copy link

thoraj commented Oct 10, 2018

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

@angelsix
Copy link
Owner

Good catch. We need to update the view model when the property changes, not on lost focus. UpdateSourceTrigger=PropertyChanged. Fixed here ed9a5fb

@thoraj
Copy link
Author

thoraj commented Oct 10, 2018

Wow.

8 minutes to respond and fix :-)

I impressed and thankful.

Thanx

Thor Arne

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