John Davidson

php - I need a multi selection on dropdown


I need multi selection on dropdown. There are dropdown

<?= $form->field($model, 'referal_id')->dropDownList(
['prompt' => 'Select Referal...']
) ?>

My Answer:
options that allow users to select multiple items at once. This can be achieved by using the "multiple" attribute in the

In this example, users can hold down the Ctrl key (or Command key on Mac) while clicking on the options to select multiple items. Alternatively, users can click and drag to select multiple items at once.

Rate this post

3 of 5 based on 5519 votes


© 2024 - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us