richardsjoqvist / silverstripe-optionaltreedropdownfield
There is no license information available for the latest version (1.1.3) of this package.
This module extends TreeDropdownField to allow clearing a selection
Package info
github.com/richardsjoqvist/silverstripe-optionaltreedropdownfield
Type:silverstripe-module
pkg:composer/richardsjoqvist/silverstripe-optionaltreedropdownfield
1.1.3
2016-04-06 04:54 UTC
Requires
- php: >=5.3.2
- composer/installers: *
- silverstripe/framework: ^3.1.0
This package is not auto-updated.
Last update: 2026-02-28 22:26:59 UTC
README
This module extends SilverStripe TreeDropdownField to allow clearing a selection.
Requirements
- SilverStripe 3.1 (or higher)
Installation
- Run
composer require richardsjoqvist/silverstripe-optionaltreedropdownfield - Run
sake /dev/build
Usage
$fields = new FieldList(); $treeField = new OptionalTreeDropdownField('MyFieldID', 'My Field Title', 'SiteTree'); $treeField->setEmptyString('No page'); $fields->push($treeField);