Hi guys, a simple question, but unfortunately no answer available:
I’m using ActiveForm of kartik like this
<?php
$form = ActiveForm::begin([
'id' => 'dynamic-form',
'type' => ActiveForm::TYPE_INLINE,
'formConfig' => [
'showLabels' => false,
'formConfig' => ['deviceSize' => ActiveForm::SIZE_LARGE]
]]);
?>
and widget uploading files like this
<div class="col-md-12">
<?=
$form->field($model, 'attachement[]', ['horizontalCssClasses' => [''deviceSize' => ActiveForm::SIZE_LARGE]])->widget(FileInput::classname(), [
'options' => ['multiple' => true],
'pluginOptions' => ['allowedFileExtensions' => ['jpg', 'bmp', 'png', 'docx', 'doc', 'xls', 'xlsx', 'csv', 'ppt', 'pptx', 'pdf', 'txt', 'avi', 'mpeg', 'mp3', 'sql']
],
])
?>
</div>
.
.
Whatever I try, bootstrap rule col-md-12 will be ruling inoperative 'cause of using TYPE-INLINE. Using TYPE-HORIZONTAL fullfills my intention, but i need TYPE-INLINE for other input fields.
Any ideas how to achieve my intention showing widget over whole screen width?