codica2 / administrate-field-jsonb

A plugin to show and edit JSON objects within Administrate.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validations with JsonEditor

DavidGeismarLtd opened this issue · comments

The jsoneditor library handles front end validation passing a configuration object to : .

I dont think the gem handles passing validations to the jsoneditor lib.

What would be the best workaround ? Is there a way to get the jsoneditor javascript object and add validations after it is initialized by the gem on the page ?