Equivalent of novas computed fields?
Just wondering if there is a filament equivalent of computed fields for the table builder: https://nova.laravel.com/docs/4.0/resources/fields.html#computed-fields
I can see that you can use ViewFields but this seems overkill when i just want to return some textual information where a closure would suffice
Fields | Laravel Nova
Master Your Universe
3 Replies
Solution
Do you mean in a table? You can just use a TextColumn. i.e.
Ah Awesome thanks @oddvalue getStateUsing seems to be the one!