You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
Hi,
its a question, not an actual issue. but in my case no. of fields being too many it makes an issue for me to cutdown the not-required things from my url.
<?= $form->field($model, 'product_type_id')->dropDownList(ArrayHelper::map(ProductTypes::find()->all(), 'id', 'name'), ['multiple' => true]); ?>
the dropdown with multi-select is generated properly and working fine. but when submitted,
url decoded as myForm[product_type_id]=&myForm[product_type_id][]=1&myForm[product_type_id][]=2
the first myForm[fieldName]=& the desired outcome? just curious to know.
though it doesn't have any issue, as the later part over-writes the 1st blank.
has anyone else noticed this ?
The text was updated successfully, but these errors were encountered:
Hi,
its a question, not an actual issue. but in my case no. of fields being too many it makes an issue for me to cutdown the not-required things from my url.
<?= $form->field($model, 'product_type_id')->dropDownList(ArrayHelper::map(ProductTypes::find()->all(), 'id', 'name'), ['multiple' => true]); ?>
the dropdown with multi-select is generated properly and working fine. but when submitted,
the query params being generated are like below
the first myForm[fieldName]=& the desired outcome? just curious to know.
though it doesn't have any issue, as the later part over-writes the 1st blank.
has anyone else noticed this ?
The text was updated successfully, but these errors were encountered: