I'm creating a custom section in Umbraco, one of my aims when creating this custom section was to reuse all the umbraco editors unless I was doing something that needed me to create my own.
I have created a generic method to build each editor. For each editor in a custom view I pass in the property editor definition.
Umbraco.NoEdit - What view does Umbraco Use?
Hi guys,
I'm creating a custom section in Umbraco, one of my aims when creating this custom section was to reuse all the umbraco editors unless I was doing something that needed me to create my own.
I have created a generic method to build each editor. For each editor in a custom view I pass in the property editor definition.
Like this:
The problem is I want to reuse umbraco's label property editor "Umbraco.NoEdit" but I cant find/work out what I should be passing for view....
Any ideas? is there a list somewhere in the docs that gives an example of what each property editors config value should be.
Hi Ayo
Haven't tested this, but is it
'readonlyvalue'
?
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/views/propertyeditors/readonlyvalue/readonlyvalue.html
regards
Marc
I use a "Label" in cases were I need something readonly
is working on a reply...