Property ValidationErrors
ValidationErrors
Gets the results of validating the values of FieldFormElements in Elements against their constraints.
Declaration
public IDictionary<string, IEnumerable<Exception>> ValidationErrors { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Collections.Generic.IEnumerable<System.Exception>> | A Dictionary mapping from FieldName to an array of errors. The errors returned for each key are a set of any of the following error types:
|
Remarks
An empty Dictionary indicates that all elements' values are valid. Constraints are expressed by the FormInput and value of IsRequired of the element. The constraints depend on the type of FormInput.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.4 - 200.6 |
.NET | 200.4 - 200.6 |
.NET Windows | 200.4 - 200.6 |
.NET Android | 200.4 - 200.6 |
.NET iOS | 200.4 - 200.6 |
.NET Framework | 200.4 - 200.6 |
UWP | 200.4 - 200.6 |