We have fields of type 'string' in our application which are defined like this:
@Html.EditorFor(model => model.Field, new { htmlAttributes = new { @class = "form-control ", @readonly = "readonly" } })
When we recently switched to the Telerik EditorTemplates we realized that the htmlAttributes weren't applied anymore.
Other fields, for example of type 'integer', still work as before.
When we deleted the EditorTemplate 'String.cshtml' the htmlAttributes were applied again, so this template seems to have been used, but just ignored the htmlAttributes.
Is this behaviour expected, or do we miss anything?