Skip to content

Commit f5b7b7c

Browse files
Merge pull request #5030 from syncfusion-content/BLAZ-917231
Blaz-917231Need to provide the field name in the custom validation ValidationRequested method.
2 parents ba452f4 + 77335c1 commit f5b7b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blazor/datagrid/column-validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ In the below code example, the following things have been done.
289289

290290
private void ValidateRequested(object editContext, ValidationRequestedEventArgs validationEventArgs)
291291
{
292-
HandleValidation(CurrentEditContext.Field("Field"));
292+
HandleValidation(CurrentEditContext.Field("Freight"));
293293
}
294294

295295
}

0 commit comments

Comments
 (0)