Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

ValidationSummary tag helper should not render the tag if there are not items to render #5209

Closed
@sebastienros

Description

@sebastienros

With <div asp-validation-summary="ModelOnly"></div>:

On GET
image

On POST with errors
image

On POST without errors in the model
image

In this last screenshot, there are no model errors, however there are non-model errors. The div should not be rendered.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions