trntv / yii2-array-input
Yii2 array input widget
Installs: 388
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 3
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2022-02-01 12:39:26 UTC
README
\trntv\arrayinput\ArrayInput::widget([
'name'=>'input',
'value'=>'test1',
//'model'=>$model,
//'attribute'=>'videos'
])
$form->field($model, 'videos')->widget(\trntv\arrayinput\ArrayInput::className(),
[
'name'=>'input',
'value'=>'test1',
//'model'=>$model,
//'attribute'=>'videos'
]
)