Nearly all my properties in my view model are decorated with [Editable(false)]', but when I scaffold a view, that uses
EditorFor` these properties, they are all still editable on the form.
Must I now manually change all EditorFor
to DisplayFor
to prevet editing? OK, I will eventually change the T4 that generates the edit form, but really, what purpose does this attribute serve then?