EditorTemplateViewFor in FormItemBuilder #8073
Labels
C: Form
Enhancement
FP: Unplanned
Sync status with associated Feedback Item
S: Wrappers (ASP.NET Core)
The FormItemBuilder exposes an EditorTemplateView method which allows a view to represent the item and provides the entire modal to the view.
As the elements available to forms are limited to those hard coded by Telerik and whilst extension methods can be employed to expand this limitation slightly, the ability to create a context specific view would be ideal
The current implementation looks like this
In this example, the entire model is provided into MyView.
I suggest adding an EditorTemplateFor that uses the lamda expression provided in the Field() method such as
Using the convention I would expect MyView to be provided the Password field only
The text was updated successfully, but these errors were encountered: