mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-29 20:59:23 +02:00
Merge pull request #7512 from creative-commoners/pulls/4.0/fix-escaped-readonly-treedropdown
FIX Do not escape the readonly values since they get escaped when rendered
This commit is contained in:
commit
79a5daa0a9
@ -53,7 +53,6 @@ class LookupField extends MultiSelectField
|
||||
if ($mapped) {
|
||||
$attrValue = implode(', ', array_values($mapped));
|
||||
|
||||
$attrValue = Convert::raw2xml($attrValue);
|
||||
$inputValue = implode(', ', array_values($values));
|
||||
} else {
|
||||
$attrValue = '<i>('._t('SilverStripe\\Forms\\FormField.NONE', 'none').')</i>';
|
||||
|
Loading…
Reference in New Issue
Block a user