F
Filamentβ€’3mo ago
atabegruslan

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
awcodesβ€’3mo ago
Yes, but you would need to make a custom column.
LeandroFerreira
LeandroFerreiraβ€’3mo ago
Filament
Syntax Entry by Parallax - Filament
Add a Filament infolist entry for themeable syntax highlighting using highlight.js
awcodes
awcodesβ€’3mo ago
Or that. πŸ˜†
atabegruslan
atabegruslanOPβ€’3mo ago
How do you create custom columns?
atabegruslan
atabegruslanOPβ€’3mo ago
Thank you
Want results from more Discord servers?
Add your server