mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #174 from silverstripe-scienceninjas/pull/groups-to-autosuggestion-on-adding-members
MINOR Groups in SecurityAdmin was not using Autosuggestion field for adding members to group.
This commit is contained in:
commit
21a01f6506
@ -62,7 +62,7 @@ class Group extends DataObject {
|
||||
public function getCMSFields() {
|
||||
Requirements::javascript(SAPPHIRE_DIR . '/javascript/PermissionCheckboxSetField.js');
|
||||
|
||||
$config = new GridFieldConfig_ManyManyEditor('FirstName', false, 20);
|
||||
$config = new GridFieldConfig_ManyManyEditor('FirstName', true, 20);
|
||||
$config->addComponent(new GridFieldPopupForms(Controller::curr(), 'EditForm'));
|
||||
$config->addComponent(new GridFieldExporter());
|
||||
$memberList = new GridField('Members','Members', $this->Members(), $config);
|
||||
|
Loading…
Reference in New Issue
Block a user