dotnet/aspnetcore
Ver no GitHubmake Partial Tag Helper's "view-data" attribute helperful
Open
#9.736 aberto em 25 de abr. de 2019
affected-fewarea-mvcbughelp wantedseverity-major
Métricas do repositório
- Stars
- (37.933 stars)
- Métricas de merge de PR
- (Mesclagem média 16d 9h) (258 fundiu PRs em 30d)
Description
<partial name="view" view-data-additionalItem="abc" />
The IDictionary<string,object> has a very helpful way to add item , But this line of code throw exception because view-data is null .
I suggestion to either support this razor syntax or add a new attribute to add addiontal item to the partial view and not effect the current view‘s ViewData