Closed Global90 closed 5 years ago
how to use maximumSelectionLength in View Yii2?
dont work for me.
Code in view:
<?php echo Select2::widget([ 'model' => $modelKhadamatDarmani, 'name' => 'KhadamatDarmani', 'data' => $data, 'showToggleAll' => false, 'options' => [ 'placeholder' => 'Select Item', 'multiple' => true, 'allowClear' => true, 'maximumSelectionLength' => 2, 'minimumInputLength' => 2, ], ]); ?>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
how to use maximumSelectionLength in View Yii2?
dont work for me.
Code in view: