1

Resolved

LinkField Edit : Target is not saved because the generated name is incorrect

description

In Views\EditorTemplates\Fields\Link.Edit.cshtml,

Target is not saved because the generated name is incorrect :

@Html.Hidden(Html.FieldNameFor(m => m.Target), target)

It generates an hidden input like this :

name="ContentType.FieldName.ContentType.FieldName.Target"

It should be something like that :

@Html.Hidden("Target", target)

comments