Increasing FileInput width using ActiveForm of kartik

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?

https://stackoverflow.com/questions/49351068/increasing-fileinput-width-using-activeform-of-kartik

Yuup. Thx for this link.

So, this thread can be closed as successfully solved