Hopefully a quick question - I've looked but couldn't see the answer anywhere here or in the docs.
I'm writing a custom module (Node) and I need to pass arrays and objects to it. How do I enter that in the hjson so it shows in the UI?
I mean as a variable under Properties. E.g. for a text input, it would be:
{name: 'input_name', optionName: 'input_name', title: 'Some title', type: 'text', required: true, defaultValue: ' ', help: 'Some help text', serverDataBindings: true, allowPaste: true}
So I'm looking for the equivalent for an array or an object. I've tried:
{name: 'array_name', optionName: 'array_name', title: 'Array title', type: 'array', required: true, defaultValue: , help: 'A array to pass.', serverDataBindings: true, allowPaste: true}
The module expects the input (when required is set to true) but it doesn't appear in the UI with all the text inputs. So how do I pass the array?
Thanks