NEW: Expose TreeDropdownField root node ID in schema

Forms part of a fix for silverstripe-admin#954
This commit is contained in:
Loz Calver 2020-10-22 15:14:15 +01:00
parent 01b5551a5b
commit eedad00ebe

View File

@ -901,6 +901,7 @@ class TreeDropdownField extends FormField
$data['data'] = array_merge($data['data'], [
'urlTree' => $this->Link('tree'),
'showSearch' => $this->getShowSearch(),
'treeBaseId' => $this->getTreeBaseID(),
'emptyString' => $this->getEmptyString(),
'hasEmptyDefault' => $this->getHasEmptyDefault(),
'multiple' => false,