diff options
Diffstat (limited to 'app/Template/group')
-rw-r--r-- | app/Template/group/associate.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/Template/group/associate.php b/app/Template/group/associate.php index 87787568..24edd133 100644 --- a/app/Template/group/associate.php +++ b/app/Template/group/associate.php @@ -9,7 +9,11 @@ <?= $this->form->hidden('group_id', $values) ?> <?= $this->form->label(t('User'), 'user_id') ?> - <?= $this->form->select('user_id', $users, $values, $errors, array('required'), 'chosen-select') ?> + <?= $this->app->component('select-dropdown-autocomplete', array( + 'name' => 'user_id', + 'items' => $users, + 'defaultValue' => isset($values['user_id']) ? $values['user_id'] : null, + )) ?> <div class="form-actions"> <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> |