Skip to content

as widget for active form#1

Open
loveorigami wants to merge 2 commits intoDevGroup-ru:masterfrom
loveorigami:master
Open

as widget for active form#1
loveorigami wants to merge 2 commits intoDevGroup-ru:masterfrom
loveorigami:master

Conversation

@loveorigami
Copy link
Copy Markdown

Now you can use in forms as

    <?= $form->field($model,'data')->widget(Jsoneditor::className(),
        [
            'editorOptions' => [
                'modes' => ['form', 'view', 'text'], // available modes
                'mode' => 'form', // current mode
            ],
        ]
    ); ?>

Now you can use in forms as
```php
    <?= $form->field($model,'data')->widget(Jsoneditor::className(),
        [
            'editorOptions' => [
                'modes' => ['form', 'view', 'text'], // available modes
                'mode' => 'form', // current mode
            ],
        ]
    ); ?>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant