There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Unobtrusive Client Hooks Not Generated Via TextAreaFor For Nested Model Properties
Please see the attached sample project for an example.
For properties that are on the model object itself (Html.TextAreaFor(m => m.Property)), using TextAreaFor generates a textarea element with the proper unobtrusive validation hooks. However, for properties that are on objects in the model (Html.TextAreaFor(m
=> m.Object.Property)), no hooks are generated. This only applies to textareas as far as I've noticed. Using Html.TextBoxFor() works in both of the previous cases.