minor modified input element verifying logic

This commit is contained in:
NaBian committed 2021-07-29 22:35:07 +08:00
1 parent 2c9ef4e24c
commit 8813fddfac
7 files changed
+35

No files matched your search

@@ -408,6 +408,11 @@ namespace HandyControl.Controls
{
SetCurrentValue(ErrorStrProperty, Validation.GetErrors(this)[0].ErrorContent);
}
else
{
SetCurrentValue(IsErrorProperty, ValueBoxes.FalseBox);
SetCurrentValue(ErrorStrProperty, default(string));
}
}
return !isError;
}