Hello,
How can I display and allow editing of $many_many_extraFields when using a control like the ManyManyComplexTableField?
Background
When doing a many-to-many relationship, SilverStripe allows data to be stored in the junction table. This is set up using DataObject's static many_many_extraFields property.
The specific problem I'm trying to solve involves Quotes which may be related to any number of Qualities. Some of these relationships should be marked as primary. I've tried to do this using
public static $many_many_extraFields = array(
'Qualities' => array('Primary' => 'Boolean')
);
but would like the CMS admin user to have a way to edit this property.
Any ideas?
Sincerely,
Ben