SoftwareBrothers / adminjs

AdminJS is an admin panel for apps written in node.js
https://adminjs.co
MIT License
8.16k stars 659 forks source link

Fields from a JSON column cannot be viewed, added, or edited #1515

Closed alvaroidpt closed 1 year ago

alvaroidpt commented 1 year ago

Hello, I would like someone to help me with this problem:

Description:

In my adminjs panel I am adding different resources. Among them I want to be able to view and edit a table containing a json formatted column (using the sql adapter):

image

Once I have added the code for displaying the table, I can't manage to see the information of that column, I can edit the information but it doesn't let me add more elements to that json:

image

image

What do I want to achieve?

I would like from adminjs to be able to see the json formatted column (TABLA JSON in my code), edit that field, add more information and finally delete records.

Thank you all!

PS: I attach a snippet of all the code if needed.

image

image

image

<3

alvaroidpt commented 1 year ago

I finally decided to do it with sequelize, it works. Thanks everyone!