diff --git a/src/View/Blade/helpers.php b/src/View/Blade/helpers.php index 3463795198..2ea2898e3a 100644 --- a/src/View/Blade/helpers.php +++ b/src/View/Blade/helpers.php @@ -2,6 +2,7 @@ namespace Statamic\View\Blade; +use Statamic\Fields\ArrayableString; use Statamic\Fields\Value; use Statamic\Fields\Values; use Statamic\Modifiers\Modify; @@ -11,7 +12,7 @@ function value(mixed $value): mixed { - if ($value instanceof Value) { + if ($value instanceof Value || $value instanceof ArrayableString) { $value = $value->value(); } elseif ($value instanceof Values) { $value = $value->all();