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.

ModelExpression equivalent of m => m: Better support asp-for="@Model" #3978

@alex-novikov-1990

Description

@alex-novikov-1990

How to use label tag helper in the following scenario in a display template? asp-for="@Model" leads to invalid label text ("Model").

@Html.LabelFor(m => m, new { @class = "control-label col-md-2" })

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions