FIX Do not escape the readonly values since they get escaped when rendered

This commit is contained in:
Robbie Averill 2017-10-25 17:36:54 +13:00
parent 97948eb41d
commit da4989e8f6

View File

@ -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>';