dev-master
9999999-devProvides 'list builder' or 'dual lists' ux pattern as a form field for Silverstripe CMS.
MIT
The Requires
by Mark Guinn
silverstripe forms listbuilder dual lists
Provides 'list builder' or 'dual lists' ux pattern as a form field for Silverstripe CMS.
Two lists of items - a "master" list and a "selected" list. You can move items between the lists and sort them. In SS this field is interchangable with CheckboxSetField except for adding the sort field., (*1)
Same as CheckboxSetField, except that you can specify the column used for sorting on the many-many relation the field is saved into. It can also save a comma-delimited list of id's into a text field instead if needed, in which case the sort column is irrelevant., (*2)
$fields->push(new ListBuilderField('Slides', 'Slides', Slides()::get()->Map(), 'SortOrder'));
Mark Guinn mark@adaircreative.com, (*3)
Pull requests welcome! Just stick to the SS coding guidelines., (*4)
MIT (see LICENSE for text), (*5)
Provides 'list builder' or 'dual lists' ux pattern as a form field for Silverstripe CMS.
MIT
silverstripe forms listbuilder dual lists