mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: i18n support in LookupField
Fixed i18n support in LookupField when value is empty (read-only complement of DropdownField)
This commit is contained in:
parent
1e422eef0a
commit
bad9aa1a48
@ -67,7 +67,7 @@ class LookupField extends DropdownField {
|
||||
|
||||
$inputValue = implode(', ', array_values($values));
|
||||
} else {
|
||||
$attrValue = "<i>(none)</i>";
|
||||
$attrValue = '<i>('._t('FormField.NONE', 'none').')</i>';
|
||||
$inputValue = '';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user