administrate-field-jsonb
administrate-field-jsonb copied to clipboard
A plugin to show and edit JSON objects within Administrate.
The [jsoneditor library](hhttps://github.com/josdejong/jsoneditor) handles front end validation passing a configuration object to : [](https://github.com/josdejong/jsoneditor/blob/master/docs/api.md). I dont think the gem handles passing validations to the jsoneditor lib. What would be the...
I'm using a version of Rails that doesn't include jquery by default, and I found that unless I explicitly included the jquery bundled within the Administrate engine within this field's...
Currently it is not possible to use the `advanced_view` option for displaying JSON arrays as the code is defined [as follows](https://github.com/codica2/administrate-field-jsonb/blob/956605fd3db1544670df1c8f9bfd39747272e48d/lib/administrate/field/jsonb.rb#L26-L28): ```rb def advanced_view? advanced_view.present? && advanced_view.is_a?(Hash) end ``` E.g...
need to do some additional digging, but here's what we observed and wanted to share. v2.20.1 v2.29.1 https://github.com/derekprior/momentjs-rails/pull/60 locking @ 2.20.1 works for now
Hey guys Awesome that you put this together! It comes at the right time :) When I edit the form in correct json (text/tree), and then save the field, it...
Hi, I encountered an issue when using this gem. I'm building a project with Rails 6 and Turbolinks 5.2.1, which I sadly can't share at the moment. When I enter...
Hello! I'm investigating adding support for specifying the label to display in the advanced view list's collapsible header. For example, in the image below, I might like to replace "SKILL...
First of all, I love this gem — amazing that it just works perfectly. Perhaps I'm misunderstanding the documentation, but is there a way to use advanced view but allow...
When generating a dashboard (with `rails generate administrate:dashboard`) while this gem is used, it would be nice if JSON fields were automatically set as `Field::JSONB` instead of `Field::String.with_options(searchable: false)`. Currently...
There are 3 related issues when a JSONB field contains a non-null but empty object (`[]` or `{}`). 1/ It is rendered as `-` on show view: 2/ It is...