Editor bound to Model in Core and MVC does not render data attributes #4729
Labels
Bug
C: Editor
FP: Completed
Sync status with associated Feedback Item
jQuery
S: Wrappers (ASP.NET Core)
S: Wrappers (ASP.NET MVC)
SEV: High
Milestone
Bug report
When a model property is decorated with data annotation attributes, the Editor HtmlHelper does not properly render the data-val and data-val-required attributes on the <textarea> element.
Reproduction of the problem
TelerikAspNetCoreAppEditor.zip
Current behavior
Data attributes are not rendered on the <textarea> element.
Expected/desired behavior
Data attributes should be successfully rendered on the Editor's <textarea>element.
Environment
The text was updated successfully, but these errors were encountered: