Current File : /home/pacjaorg/www/km/templates/yootheme/cache/element-a05e747a.php |
<?php // $file = /home/akoke/public_html/km2/plugins/system/djclassifiedsyt/modules/form/elements/form_option/element.json
return [
'@import' => $filter->apply('path', './element.php', $file),
'name' => 'classifieds_form_option',
'title' => 'Option',
'width' => 500,
'placeholder' => [],
'templates' => [
'render' => $filter->apply('path', './templates/template.php', $file),
'content' => $filter->apply('path', './templates/content.php', $file)
],
'fields' => [
'id' => [
'label' => 'ID',
'type' => 'Text',
'description' => 'Optional input ID, only appliable for Checkbox and Radio options.',
'source' => true
],
'text' => [
'label' => 'Text',
'description' => 'The text that will be associated with this option. Defaults to the option value.',
'type' => 'editor',
'source' => true
],
'value' => [
'label' => 'Value',
'description' => 'The value that this option represent.',
'source' => true,
'type' => 'Text'
],
'disabled' => [
'text' => 'Set as disabled',
'description' => 'A disabled option is unusable and un-clickable.',
'type' => 'checkbox',
'source' => true
],
'status' => $config->get('builder.statusItem'),
'source' => $config->get('classifieds.form.fields.source')
],
'fieldset' => [
'default' => [
'type' => 'tabs',
'fields' => [[
'title' => 'Content',
'fields' => ['disabled', 'value', 'text', 'id']
], $config->get('builder.advancedItem')]
]
]
];