EditorTemplateView option does not accept PartialAsync() method #8070
Labels
Bug
C: Form
FP: Unplanned
Sync status with associated Feedback Item
S: Wrappers (ASP.NET Core)
SEV: Low
Bug report
When loading an editor through a partial View using EditorTemplateView(await Html.PartialAsync("PartialViewName")), the following error occurs:
The 'await' operator can only be used within an async lambda expression. Consider marking this lambda expression with the 'async' modifier.
Reproduction of the problem
Expected/desired behavior
The EditorTemplateView() must accept Html.PartialAsync("PartialViewName").
Environment
The text was updated successfully, but these errors were encountered: