break;
case 'entity_reference':
- $this->addEntityRef($fieldName, NULL, array('entity' => 'group', 'api' => array('params' => array())));
+ $this->addEntityRef($fieldName, $fieldValue['title'], CRM_Utils_Array::value('options', $fieldValue, array()));
}
}
'html_type' => 'entity_reference',
'title' => ts('Domain Group'),
'weight' => 3,
+ 'options' => array('entity' => 'group', 'select' => array('minimumInputLength' => 0)),
'description' => ts('Contacts created on this site are added to this group'),
),
/** Remove this checkbox until some one knows what this setting does