From aa3a9be12b63f0b17f108b67c13eb1e20a3fef42 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 17 Jun 2019 19:12:09 +0200 Subject: [PATCH] #2810 --- src/resources/views/fields/tags.blade.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/resources/views/fields/tags.blade.php b/src/resources/views/fields/tags.blade.php index ac19edb..41e229b 100644 --- a/src/resources/views/fields/tags.blade.php +++ b/src/resources/views/fields/tags.blade.php @@ -3,6 +3,14 @@ if(!is_array($values)){ $values=[]; } + $normalizedValues=[]; + foreach ($values as $value) { + if(is_object($value)){ + $value=$value->value; + } + $normalizedValues[]=$value; + } + $values=$normalizedValues; @endphp -- 2.39.5