motor-admin-rails icon indicating copy to clipboard operation
motor-admin-rails copied to clipboard

Update of json field failed

Open zahraj3 opened this issue 2 years ago • 2 comments

I have defined field "parameters" where is store json.

Displaying of the values is fine and working. But the update of json values cause this error:

image

It is not important if the filed is the set as text or json (I mean setting in the motor-admin yml)

I would really appreciate it if it could be fixed.

Thanks a lot.

zahraj3 avatar Jul 19 '23 20:07 zahraj3

@zahraj3 do you have some custom AR serializer for your json field? Default AR jsonb fields work with motor admin without additional configurations.

omohokcoj avatar Sep 09 '23 09:09 omohokcoj