Loading src/Controller/AutocompleteController.php +5 −0 Original line number Diff line number Diff line Loading @@ -157,6 +157,11 @@ class AutocompleteController extends ControllerBase { 'value' => $thisIcon['name'], 'label' => implode('', $iconRenders) . $thisIcon['name'], ]; // Cap the results if this is a single character. if (strlen($typed_string) == 1 && count($results) >= 25) { break; } } } } Loading Loading
src/Controller/AutocompleteController.php +5 −0 Original line number Diff line number Diff line Loading @@ -157,6 +157,11 @@ class AutocompleteController extends ControllerBase { 'value' => $thisIcon['name'], 'label' => implode('', $iconRenders) . $thisIcon['name'], ]; // Cap the results if this is a single character. if (strlen($typed_string) == 1 && count($results) >= 25) { break; } } } } Loading