Actually, how to change the background of the element kartik \ select2 \ Select2 (not a drop-down list, but just a visible input), without js and css? Like something through the options ..
Select2::classname(), [ 'data' => [], 'options' => ['style' => 'background-color: #000;'], 'pluginOptions' => [ 'allowClear' => true, ], ] I thought, in the options, as in the example, but, unfortunately, does not fit.