My view model has an integer property, which is bound to a WPF TextBox.
The property is optional, and I have a 'GreaterThan' rule in the validator for the view model.
If I enter non-numeric characters in the text box, I get this error message:
Value 'x' could not be converted
My view model implements INotifyDataErrorInfo, but this error isn't included like the Fluent Validation ones are.
- How can I get this error included with INotifyDataErrorInfo?
- How can I customise this error message to someline a bit more user-friendly?