You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Tuesday, April 9, 2013 at 9:35 AM, wernerkrauss wrote:
In the meanwhile this works as a workaround:
public function getCMSFields() { $fields = $this->getGeneratedCMSFields(); $gridConf = GridFieldConfig_RelationEditor::create(); $fields->dataFieldByName('MyManyManyRelationship')->setConfig($gridConf); return $fields; }
But out of the box it's really nicer ;)
—
Reply to this email directly or view it on GitHub (#10 (comment)).
When managing manymany Relations using
GridFieldConfig_RelationEditor::create()
instead of
GridFieldConfig_RecordEditor::create()
would be great.
The text was updated successfully, but these errors were encountered: