burnbright / silverstripe-asmselectfield
Select multiple fields, with enhancement by javascript.
Package info
github.com/burnbright/silverstripe-asmselectfield
Language:JavaScript
Type:silverstripe-module
pkg:composer/burnbright/silverstripe-asmselectfield
dev-master
2015-01-21 02:13 UTC
Requires
- silverstripe/framework: ~3.1
This package is auto-updated.
Last update: 2026-03-24 23:06:12 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); }