我正在用这个创建一个表单:
<?= $form->field($model, 'job_category') ->dropDownList($jobCategoryDropDown, ['options' => $jobCategoryOptionArray, 'multiple' => 'multiple']) ->label('Ngành nghề - chuyên môn (Bắt buộc) <span class="help-required"> * </span>') ?>
如何限制用户最多选择 3 个或更多值?
RISEBY