make Partial Tag Helper's "view-data" attribute helperful
Open
affected-few
area-mvc
bug
help wanted
severity-major
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
```html
```
The `IDictionary` 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
Contributor guide
Assessment
This issue has not been assessed yet.