displaying json column with table and updating it #971
Replies: 1 comment 4 replies
-
Hey @altayevrim I tested it, and it worked perfectly for me. Though it stores like this:
I suspect something is wrong with casting. In my model, i used the following: public $casts = [
'raw' => 'object',
] |
Beta Was this translation helpful? Give feedback.
4 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a column named as "raw" which stores a JSON. Something like this
When I use the code below on setupShowOperation it works perfectly.
But when I use the field version of it on setupUpdateOperation it does not work at all. The values don't get rendered.
I need to enable editing as well, tried fake fields too but it didn't work either.
What should I do?
Beta Was this translation helpful? Give feedback.
All reactions