SaveRequestHandler<TRow,TSaveRequest,TSaveResponse>.ValidateFieldValue method
Checks the value of a field by a validation rule.
protected virtual string? ValidateFieldValue(Field field, ValidationAttribute rule, object? value,
ValidationContext context)
| parameter | description |
|---|---|
| field | The field. |
| rule | The rule. |
| value | The value of the field. |
| context | The context, of the row, for the field. |
Return Value
The validation error message, or null if the value is valid.