danbroooks / gridfield-selectexisting
Manage relationships in Gridfield by ticking/unticking from a list of existing records
Installs: 236
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 3
Open Issues: 0
Type:silverstripe-module
Requires
- php: >=5.3
- composer/installers: *
- silverstripe/framework: >=3.0.1,<3.2
This package is not auto-updated.
Last update: 2025-05-03 00:00:42 UTC
README
Silverstripe Gridfield component that allows you to manage relationships by ticking/unticking from a list of existing data objects
Installation
composer require danbroooks/gridfield-selectexisting
Usage
$config = GridFieldConfig_RelationEditor::create(10) ->addComponent(new GridFieldSelectExisting()); GridField::create('Relationship', 'Relationship', $this->Relationship(), $config));