Html.DisplayName cutting off text
I am using ASP Net Core with .NET 6.
I am trying to display data into an HTML table.
Can anyone explain why the text is getting cut off in the above snippet?
1 Reply
Surrounding code:
Changing to
@Html.Label("", item.ToString())
fixed it