yii2-dynamicform
yii2-dynamicform copied to clipboard
afterinsert not working with kartik select2
The minute I used the Select2, the afterinsert no longer fires
my select2 is
->widget(Select2::classname(), [ 'data' => $data, 'options' => [ 'class' => 'no-padding form-control', 'onchange'=>'checkEscortExpirations.call(this, event);', ], 'pluginOptions' => [ 'allowClear' => true, 'width' => '100%', ], ])
if I use a textInput() instead, it works fine
Anyone know a solution?