-
When using the formatUsing method for setting up index table columns it could be great if allowed to output HTML tags. By allowing this you could super easy output a |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
In context to that it would also be nice to have the ->sortable method allowed to have a "sort value" passed to it so it could allow for custom sorting of data undepended on the output. |
Beta Was this translation helpful? Give feedback.
-
Hey! I'm not going to implement this, as it would open Filament up to potential XSS attacks. You should instead use the |
Beta Was this translation helpful? Give feedback.
Hey! I'm not going to implement this, as it would open Filament up to potential XSS attacks.
You should instead use the
->view()
method on your column to specify the path to a custom view which renders$column->getValue($record)
.