I have Html::a with confirm between ActiveForm::begin() and ActiveForm::end(). When I have only Html::a it works fine, it’s made GET request without INPUTs vars. When I have confirm parameter it’s made POST request with all form input. How prevent submiting form INPUTs? Even I pass parameter method=get, request sending INPUTs as GET parameters.
<?= Html::a(Yii::t('app', 'Some name'), ['update', 'id'=>$model->ID, 'par'=>'W'], [ 'class' => 'btn btn-primary', 'data' => [ 'method'=>'get', 'confirm'=>Yii::t('app', 'Some warning?'), ], ]) ?>