Improve Error coloring and conditions

This commit is contained in:
Jonathan Jenne
2021-12-03 11:44:25 +01:00
parent 436293cbb7
commit 8ab2842594
9 changed files with 125 additions and 46 deletions

View File

@@ -62,9 +62,11 @@
Public ReadOnly Property HasError As Boolean
Get
Return IsRequired = True And (
[Error] <> FieldError.None Or Final = String.Empty
)
Return [Error] <> FieldError.None Or (IsRequired And Final = String.Empty)
'Return IsRequired = True And (
' [Error] <> FieldError.None Or Final = String.Empty
')
End Get
End Property