webvimark / form-fields-visibility
Widget for yii2 allowing to hide/show chosen fields in ActiveForm
Installs: 24
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/webvimark/form-fields-visibility
This package is auto-updated.
Last update: 2025-09-29 01:39:28 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist webvimark/form-fields-visibility "*"
or add
"webvimark/form-fields-visibility": "*"
to the require section of your composer.json
file.
Usage
<?= FormFieldsVisibility::widget([ 'model'=>$model, 'attributes' => [ 'url' => $model->getAttributeLabel('url'), 'page_place_id' => 'Some magic place', 'meta_keywords' => $model->getAttributeLabel('meta_keywords'), 'meta_title' => $model->getAttributeLabel('meta_title'), ], ]) ?>