diff --git a/resources/views/filament/infolists/entries/policy-settings-standard.blade.php b/resources/views/filament/infolists/entries/policy-settings-standard.blade.php index 9788fc4..a534d59 100644 --- a/resources/views/filament/infolists/entries/policy-settings-standard.blade.php +++ b/resources/views/filament/infolists/entries/policy-settings-standard.blade.php @@ -99,8 +99,15 @@ {{ $row['value'] }} @else + @php + $value = $row['value'] ?? 'N/A'; + + if (is_array($value) || is_object($value)) { + $value = json_encode($value, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); + } + @endphp - {{ Str::limit($row['value'] ?? 'N/A', 200) }} + {{ Str::limit((string) $value, 200) }} @endif @@ -127,8 +134,15 @@ {{ $entry['key'] }}
+ @php + $value = $entry['value'] ?? 'N/A'; + + if (is_array($value) || is_object($value)) { + $value = json_encode($value, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); + } + @endphp - {{ Str::limit($entry['value'] ?? 'N/A', 200) }} + {{ Str::limit((string) $value, 200) }}