fix: Do not use `getField` to allow for field fallback values
This commit is contained in:
parent
e34d6e4898
commit
560a1398ab
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue