A Yii2 input widget extension for manage lists.
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist nsept/yii2-listinput "*"
or add
"nsept/yii2-listinput": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
<?= nsept\listinput\ListInputWidget::widget([
'form' => $form,
'model' => $model,
'attribute' => 'list'
]) ?>
Comments