Replies: 1 comment
-
This is not a powergrid bug, but we can assess the need to remove the cast in these cases. Could you share more details and how do I reproduce? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i'm using a package called https://github.com/spatie/laravel-schemaless-attributes in one of my columns.
i wanted to make it searchable but i'm encountering this

addcolumns()
return PowerGrid::eloquent() ->addColumn('meta_formatted', function ($model) { return $model->meta->toJson(); }); }
columns()
Column::add() ->title('Meta') ->field('meta_formatted', 'meta') ->searchable()
i dont think removing the cast for this package is possible. i'm looking for another way to be able to support search for this kind of columns
Beta Was this translation helpful? Give feedback.
All reactions