fix: Do not use getField to allow for field fallback values

This commit is contained in:
Roman Schmid 2022-07-25 16:49:23 +02:00
parent e34d6e4898
commit 560a1398ab

View File

@ -403,7 +403,7 @@ class TagField extends MultiSelectField
}
if ($values instanceof DataObject && $values->exists()) {
return [$values->getField($this->getTitleField())];
return [$values->{$this->getTitleField()}];
}
if (is_int($values)) {