You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Post which has_many Post::Translations, which themselves have a JSON tags property. When creating the post with its nested resource(s), the tag editor does not appear (http://localhost:3000/admin/posts/new):
As my tags cannot be nil (as enforced by DB schema), this issue prevents creating new posts and is therefore quite blocking.
Using Rails 5.2.3, Administrate 0.12.0, administrate-field-jsonb 0.4.0, and administrate-field-nested_has_many 1.1.0 although it's mostly overridden; code is included for reference above but in principle unrelated to this issue.
The text was updated successfully, but these errors were encountered:
@volkov-sergey I see here that the JS is included with Administrate::Engine.add_javascript 'administrate-field-jsonb/application'. That code is inside an "engine" about which I don't know anything. Do you know how/where that "engine" should be loaded?
I have a
Post
which has_manyPost::Translation
s, which themselves have a JSONtags
property. When creating the post with its nested resource(s), the tag editor does not appear (http://localhost:3000/admin/posts/new):However it does appear when creating the translation sub-resource directly (http://localhost:3000/admin/post/translations/new):
Also, the editor does appear when editing an existing post:
The dashboard is configured as follows:
As my
tags
cannot benil
(as enforced by DB schema), this issue prevents creating new posts and is therefore quite blocking.Using Rails 5.2.3, Administrate 0.12.0, administrate-field-jsonb 0.4.0, and administrate-field-nested_has_many 1.1.0 although it's mostly overridden; code is included for reference above but in principle unrelated to this issue.
The text was updated successfully, but these errors were encountered: