mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Don't escape values on TreeDropdownField readonly views
They typically output TreeTitle() which is assumed to be HTML.
This commit is contained in:
parent
5205a4403b
commit
857d8bb8df
@ -369,6 +369,7 @@ class TreeDropdownField_Readonly extends TreeDropdownField {
|
||||
$field = new LookupField($this->name, $this->title, $source);
|
||||
$field->setValue($this->value);
|
||||
$field->setForm($this->form);
|
||||
$field->dontEscape = true;
|
||||
return $field->Field();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user