Use ready state to set the initial value. This prevents error "JSON Editor not ready yet.  Listen for 'ready' event before setting the value" which can be caused when using ajax $ref in the schema.
Use ready state to set the initial value. This prevents error "JSON Editor not ready yet.  Listen for 'ready' event before setting the value" which can be caused when using ajax $ref in the schema.

beowulfenator/yii2-json-editor