diff --git a/composer.json b/composer.json index a0ac13e..9948a0a 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "insolita/yii2-adminlte-widgets": "~1.1", "2amigos/yii2-translateable-behavior": "^1.0.4", "twig/twig": "2.*", - "dmstr/yii2-json-editor": "dev-master" + "dmstr/yii2-json-editor": "^0.2.0" }, "repositories": { "dmstr/yii2-json-editor": { diff --git a/src/views/crud/publication-item/_form.php b/src/views/crud/publication-item/_form.php index e670c9a..48501a4 100644 --- a/src/views/crud/publication-item/_form.php +++ b/src/views/crud/publication-item/_form.php @@ -87,7 +87,7 @@ - field($model, 'content_widget_json')->widget(dmstr\JsonEditor\JsonEditorWidget::class, [ + field($model, 'content_widget_json')->widget(dmstr\jsoneditor\JsonEditorWidget::class, [ 'id' => 'content_widget_jsonEditor', 'schema' => $model->content_widget_schema, 'clientOptions' => [ @@ -99,7 +99,7 @@ ]) ?> - field($model, 'teaser_widget_json')->widget(dmstr\JsonEditor\JsonEditorWidget::class, [ + field($model, 'teaser_widget_json')->widget(dmstr\jsoneditor\JsonEditorWidget::class, [ 'id' => 'teaser_widget_jsonEditor', 'schema' => $model->teaser_widget_schema, 'clientOptions' => [