minor modified input element verifying logic
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user