burnbright / silverstripe-asmselectfield
Select multiple fields, with enhancement by javascript.
Installs: 68
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 3
Language:JavaScript
Type:silverstripe-module
Requires
- silverstripe/framework: ~3.1
This package is auto-updated.
Last update: 2024-10-24 20:06:02 UTC
README
Select multiple fields, with enhancement by javascript.
https://code.google.com/p/jquery-asmselect/
Example usage
//decorate member and add the following to updateCMSFields() $groups = Group::get(); if($groups->exists()){ $groupslist = new AsmselectField('Groups','Security Groups', $groups->map()->toArray(),$this->owner->Groups()->map('ID','ID')->toArray()); $fields->addFieldToTab('Root.Security', $groupslist); }