mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-01 05:39:10 +02:00
FIX Do not escape the readonly values since they get escaped when rendered
This commit is contained in:
parent
97948eb41d
commit
da4989e8f6
@ -53,7 +53,6 @@ class LookupField extends MultiSelectField
|
|||||||
if ($mapped) {
|
if ($mapped) {
|
||||||
$attrValue = implode(', ', array_values($mapped));
|
$attrValue = implode(', ', array_values($mapped));
|
||||||
|
|
||||||
$attrValue = Convert::raw2xml($attrValue);
|
|
||||||
$inputValue = implode(', ', array_values($values));
|
$inputValue = implode(', ', array_values($values));
|
||||||
} else {
|
} else {
|
||||||
$attrValue = '<i>('._t('SilverStripe\\Forms\\FormField.NONE', 'none').')</i>';
|
$attrValue = '<i>('._t('SilverStripe\\Forms\\FormField.NONE', 'none').')</i>';
|
||||||
|
Loading…
Reference in New Issue
Block a user