Skip to content

Commit

Permalink
Change Autocomplet mode for add user to group modal search
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsen9026 committed Oct 28, 2020
1 parent 007a05f commit 2efccb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/view/CardPrinter.php
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ private static function printAddGroupMemberModalButton(DistrictGroup $group = nu
->autoCompleteGroupName();

$userToAdd = new FormText('Add user', 'Can also serarch by first or last name.', 'usernameToAdd', $user->getUsername());
$userToAdd->autoCompleteDomainUsername()
$userToAdd->autoCompleteUsername()
->hidden();

$modal->setTitle("Find Group");
Expand All @@ -620,7 +620,7 @@ private static function printAddGroupMemberModalButton(DistrictGroup $group = nu
$groupName->hidden();

$userToAdd = new FormText('Add user', 'Can also serarch by first or last name.', 'usernameToAdd');
$userToAdd->autoCompleteDomainUsername();
$userToAdd->autoCompleteUsername();

$modal->setTitle("Find User");
} else {
Expand Down

0 comments on commit 2efccb8

Please sign in to comment.