codica2 / administrate-field-jsonb

A plugin to show and edit JSON objects within Administrate.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Empty array shows `null` not `[]`

9mm opened this issue · comments

commented

My jsonb column default is [], yet when the JSON editor loads it shows this:

image

This fails when saving, it should look like this by default:

image

example of DB data:

image