Hey!
I’ve successfully implemented (with plenty of pain) a custom enum field in a relationship table by using this tutorial:
The relationship is a N-N-relationship and the custom field is shown in both modules in a subpanel. From there it’s also possible to edit the field by clicking on the “Edit”-button. This all works fine, the only issue is that in the subpanels the field-name is not correctly shown. It doesn’t show the value from the “list-dictionary” that is defined in \custom\include\language\en_us.lang.php, e.g.:
$GLOBALS['app_list_strings']['modulename_customfield_list'] = array(
'market' => 'Market',
'competitors' => 'Competitors',
'financial_state' => 'Financial State',
);
It rather shows the raw value that’s also in the database. I think I have correctly set this up in the file \custom\metadata\relationship_nameMetaData.php:
array (
‘name’ => ‘customfield’,
‘type’ => ‘enum’,
‘options’ => ‘modulename_customfield_list’
),
however it’s not using that in the subpanel:
Does anybody know how to use the list names array in the subpanels?
Thanks
Max