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

Tiny bug in validation template #5

Open
ajt2018 opened this issue Mar 5, 2019 · 2 comments
Open

Tiny bug in validation template #5

ajt2018 opened this issue Mar 5, 2019 · 2 comments
Labels

Comments

@ajt2018
Copy link

ajt2018 commented Mar 5, 2019

In Helpers.xaml the TextBlock binding to Adorner element is misspelled Adoner so you always get the fallback error message "Invalid Input"

Many thanks!

@MarcusWichelmann
Copy link
Owner

Thank you for your report.
I'll fix this the next time I'm on a Windows computer. So bad that WPF doesn't work on linux. 😄

Text="{Binding ElementName=Adoner, Path=AdornerElement.(Validation.Errors)[0].ErrorContent, FallbackValue=Invalid Input}" />

@ajt2018
Copy link
Author

ajt2018 commented Mar 6, 2019 via email

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

No branches or pull requests

2 participants