mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
NEW: Expose TreeDropdownField root node ID in schema
Forms part of a fix for silverstripe-admin#954
This commit is contained in:
parent
01b5551a5b
commit
eedad00ebe
@ -901,6 +901,7 @@ class TreeDropdownField extends FormField
|
|||||||
$data['data'] = array_merge($data['data'], [
|
$data['data'] = array_merge($data['data'], [
|
||||||
'urlTree' => $this->Link('tree'),
|
'urlTree' => $this->Link('tree'),
|
||||||
'showSearch' => $this->getShowSearch(),
|
'showSearch' => $this->getShowSearch(),
|
||||||
|
'treeBaseId' => $this->getTreeBaseID(),
|
||||||
'emptyString' => $this->getEmptyString(),
|
'emptyString' => $this->getEmptyString(),
|
||||||
'hasEmptyDefault' => $this->getHasEmptyDefault(),
|
'hasEmptyDefault' => $this->getHasEmptyDefault(),
|
||||||
'multiple' => false,
|
'multiple' => false,
|
||||||
|
Loading…
Reference in New Issue
Block a user