From 2965777afde4a8c18a712a284e4ef4b974da2f9c Mon Sep 17 00:00:00 2001 From: Kirk Larkin <6025110+serpent5@users.noreply.github.com> Date: Fri, 17 Dec 2021 10:37:05 +0000 Subject: [PATCH] Remove ValidationSummary prefix from tag-helper attribute values (#24354) --- aspnetcore/mvc/views/working-with-forms.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/aspnetcore/mvc/views/working-with-forms.md b/aspnetcore/mvc/views/working-with-forms.md index a550a199fc..5f35c472ac 100644 --- a/aspnetcore/mvc/views/working-with-forms.md +++ b/aspnetcore/mvc/views/working-with-forms.md @@ -486,11 +486,11 @@ When a server side validation error occurs (for example when you have custom ser The `Validation Summary Tag Helper` is used to display a summary of validation messages. The `asp-validation-summary` attribute value can be any of the following: -|asp-validation-summary|Validation messages displayed| -|--- |--- | -|ValidationSummary.All|Property and model level| -|ValidationSummary.ModelOnly|Model| -|ValidationSummary.None|None| +| asp-validation-summary | Validation messages displayed | +|------------------------|-------------------------------| +| `All` | Property and model level | +| `ModelOnly` | Model | +| `None` | None | ### Sample