Wrong URL Parameters in Yii2 form with GET method

This article explains a specific issue with the URL generated when using the GET method with Yii2 forms. Let’s consider, you are using an ActiveForm in yii (both v1.x or 2), with a GET method like below: // In Yii 2 $form = ActiveForm::begin([ ‘id’ => ‘order-search-form’, ‘method’ => ‘get’, ]); echo $form->field($searchModel, ‘id’); echo […]

Read More