diff --git a/src/View/Blade/helpers.php b/src/View/Blade/helpers.php index 3463795198..021f7cd22c 100644 --- a/src/View/Blade/helpers.php +++ b/src/View/Blade/helpers.php @@ -2,6 +2,7 @@ namespace Statamic\View\Blade; +use Statamic\Fields\LabeledValue; 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 LabeledValue) { $value = $value->value(); } elseif ($value instanceof Values) { $value = $value->all();