diff --git a/src/Fieldtypes/SourceFieldtype.php b/src/Fieldtypes/SourceFieldtype.php index c93325bd..1216b252 100755 --- a/src/Fieldtypes/SourceFieldtype.php +++ b/src/Fieldtypes/SourceFieldtype.php @@ -84,7 +84,7 @@ public function augment(mixed $data): mixed if ($data === '@default') { $value = $this->sourceFieldtype()->augment($this->defaultValueFromCascade()); - return is_string($data) && Str::contains($value, '@field') + return is_string($value) && Str::contains($value, '@field') ? $this->sourceFieldtype()->augment($this->parseFieldValues($value)) : $value; }