hc:DateTimePicker support for Validation

This commit is contained in:
NaBian committed 2021-07-18 14:32:12 +08:00
1 parent 13d9404848
commit 30ed64e5d2
3 files changed
+18 -4

No files matched your search

@@ -156,7 +156,7 @@ namespace HandyControl.Controls
var isError = !result.Data;
if (isError)
{
SetCurrentValue(IsErrorProperty, true);
SetCurrentValue(IsErrorProperty, ValueBoxes.TrueBox);
SetCurrentValue(ErrorStrProperty, result.Message);
}
else