FIX: i18n support in LookupField

Fixed i18n support in LookupField when value is empty (read-only complement of DropdownField)
This commit is contained in:
Milan Jelicanin 2014-10-09 17:43:29 +02:00
parent 1e422eef0a
commit bad9aa1a48

View File

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