When using clasic ASP.NET Core approach user can define custom editor template like this:
f.Add(p=>p.CategoryID).Label("Category").DefaultValue(1).EditorTemplateHandler("categoryDropDownEditor");
function categoryDropDownEditor(container, options) { $('<input data-bind="value: value" name="' + options.field + '"/>') .appendTo(container) .kendoDropDownList({ dataTextField: "CategoryName", dataValueField: "CategoryID", dataSource: { type: "odata", transport: { } } }); }
Is this possible to achieve using Tag helpers and is there any way to pass the parameter/s to the categoryDropDownEditor function?
