From ffb392617895095b824a35150e620a68920f9260 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 11 Dec 2016 15:46:54 -0500 Subject: Replace Chosen jQuery plugin by custom UI component --- app/Template/group/associate.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'app/Template/group') 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 @@ form->hidden('group_id', $values) ?> form->label(t('User'), 'user_id') ?> - form->select('user_id', $users, $values, $errors, array('required'), 'chosen-select') ?> + app->component('select-dropdown-autocomplete', array( + 'name' => 'user_id', + 'items' => $users, + 'defaultValue' => isset($values['user_id']) ? $values['user_id'] : null, + )) ?>
-- cgit v1.2.3