I have a decimal field DocNum and a nullable integer field RelatedDocNum
I've created an EditorFor template called Decimal.cshtml:
and an EditorFor template called Integer.cshtml:
When I use it in my view, like this:
DocNum renders correctly, but RelatedDocNum does not. The class form-control does not get applied to RelatedDocNum. See screenshot.
I do not have any Kendo or jQuery errors on the page. The page source looks like this:
What am I missing?