I've created the HTML, Controller JS and manifest file in the path suggested and specified the path as suggested. I'm getting a error suggesting the controller isn't being added. Do you do it differently for prevalue editors?
Error: Argument 'OS.PrevalueEditors.ImageFilePickerController' is not a function, got undefined
The issue was I had my package.manifest file in the same directory as the view which was 2 levels down in the AppPlugins folder. By moving it up the level one below the AppPlugins it worked.
Hopefully this is useful to someone else!
I.e.
from
\AppPlugins\OS.Prevalues\OS.Prevalue.ImagePicker
to
\AppPlugins\OS.Prevalues
Registering Prevalue editors for Grid custom Settings and Styling
Hi,
I'm attempting to have use a custom prevalue editor for styling with the grid editor.
https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Grid-Layout/Settings-and-styles
I've created the HTML, Controller JS and manifest file in the path suggested and specified the path as suggested. I'm getting a error suggesting the controller isn't being added. Do you do it differently for prevalue editors?
Error: Argument 'OS.PrevalueEditors.ImageFilePickerController' is not a function, got undefined
Thanks
John
The issue was I had my package.manifest file in the same directory as the view which was 2 levels down in the AppPlugins folder. By moving it up the level one below the AppPlugins it worked.
Hopefully this is useful to someone else!
I.e. from \AppPlugins\OS.Prevalues\OS.Prevalue.ImagePicker to \AppPlugins\OS.Prevalues
is working on a reply...