From: Vincent Vanwaelscappel Date: Mon, 17 Jun 2019 17:12:09 +0000 (+0200) Subject: #2810 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=aa3a9be12b63f0b17f108b67c13eb1e20a3fef42;p=cubist_cms-back.git #2810 --- 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