mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
parent
63e726c9ff
commit
a15ea86ccd
@ -10,6 +10,7 @@
|
||||
- Fix #4830: Fix Prerequisites / Self Test translations
|
||||
- Fix #4459: Make UserFollow activity public
|
||||
- Enh #3824: Run acceptance tests with pretty URLs
|
||||
- Enh #5169: Enable more than 50 groups to a user
|
||||
|
||||
|
||||
1.9.0-beta.1 (June 15, 2021)
|
||||
|
@ -259,7 +259,8 @@ class HForm extends \yii\base\Component
|
||||
case 'multiselectdropdown':
|
||||
$field = $this->form->field($model, $name)->widget(MultiSelect::class, [
|
||||
'items' => $definition['items'],
|
||||
'options' => $definition['options']
|
||||
'options' => $definition['options'],
|
||||
'maxSelection' => $definition['maxSelection'] ?? 50,
|
||||
]);
|
||||
break;
|
||||
case 'dropdownlist':
|
||||
|
@ -149,6 +149,7 @@ class UserController extends Controller
|
||||
'data-placeholder' => Yii::t('AdminModule.user', 'Select Groups'),
|
||||
'data-placeholder-more' => Yii::t('AdminModule.user', 'Add Groups...')
|
||||
],
|
||||
'maxSelection' => 250,
|
||||
'isVisible' => Yii::$app->user->can(new ManageGroups())
|
||||
],
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user