This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Sunshine
I'm building my first plug-in. I've created the plug-in and component using the artisan scaffolding commands. I have added the following properties to the component:
public function defineProperties()
{
return [
'maxItems' => [
'title' => 'No. of items to display',
'description' => 'The number of items to show',
'type' => 'text',
'default' => '5'
]
];
}
I can drag and drop the component to my page but when I click on it to set the properties, nothing happens and i get the following error in the console:
Uncaught Error: The Inspector editor class "inspectorEditorText" is not defined in the $.oc.inspector.editors namespace. october.inspector.js:575
Anybody come across this or had a similar issue?
edit - other component sof other plug-ins work fine e.g. the Todo List component from the October Demo
Last updated
1-2 of 2