[Blazor] ValidationSummary component. Support the equivalent of ModelOnly in MVC
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
* https://github.com/dotnet/aspnetcore/blob/main/src/Mvc/Mvc.TagHelpers/src/ValidationSummaryTagHelper.cs
Per https://github.com/dotnet/AspNetCore-ManualTests/issues/2409#issuecomment-2292221645
ValidationSummary in most cases will just repeat the error displayed for each property, it doesn't really make sense to use with anything on combination with ValidationMessage, and AFAIK, we don't have a way to display only model errors.
The current implementation results in most cases on errors being duplicated when used a longside ValidationMessage. We should consider a mechanism where we can plug in model errors that happen as a result of validation as well as the ability to hide those errors.
Contributor guide
Assessment
This issue has not been assessed yet.