Display a field as formatted json

Is there a way to display Components\TextEntry::make('properties') as a formated json, with indentations, so that it would look like
<pre>
print_r($model->properties);
</pre>
<pre>
print_r($model->properties);
</pre>
6 Replies
awcodes
awcodes5mo ago
Yes, but you would need to make a custom column.
LeandroFerreira
LeandroFerreira5mo ago
Filament
Syntax Entry by Parallax - Filament
Add a Filament infolist entry for themeable syntax highlighting using highlight.js
awcodes
awcodes5mo ago
Or that. 😆
atabegruslan
atabegruslanOP5mo ago
How do you create custom columns?
atabegruslan
atabegruslanOP5mo ago
Thank you

Did you find this page helpful?