Remove ValidationSummary prefix from tag-helper attribute values (#24354)

pull/24355/head
Kirk Larkin 2021-12-17 10:37:05 +00:00 committed by GitHub
parent c4781016c6
commit 2965777afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -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