library form-fields-visibility
Widget for yii2 allowing to hide/show chosen fields in ActiveForm
webvimark/form-fields-visibility
Widget for yii2 allowing to hide/show chosen fields in ActiveForm
- Saturday, October 25, 2014
- by webvimark
- Repository
- 1 Watchers
- 1 Stars
- 12 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Installation
The preferred way to install this extension is through composer., (*1)
Either run, (*2)
php composer.phar require --prefer-dist webvimark/form-fields-visibility "*"
or add, (*3)
"webvimark/form-fields-visibility": "*"
to the require section of your composer.json
file., (*4)
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'),
],
]) ?>
dev-master
9999999-dev
Widget for yii2 allowing to hide/show chosen fields in ActiveForm
Sources
Download