Skip to content

EspoCRM – Open Source CRM Application

autocomplete max height

Yuri Kuznetsov11d9d2aee4b6
diff --git a/client/src/ui/autocomplete.js b/client/src/ui/autocomplete.js
index 6c42649d43..ea3fb38906 100644
--- a/client/src/ui/autocomplete.js
+++ b/client/src/ui/autocomplete.js
@@ -117,6 +117,7 @@ class Autocomplete {
autoSelectFirst: options.autoSelectFirst,
appendTo: $modalBody.length ? $modalBody : 'body',
forceFixPosition: true,
+ maxHeight: 308,
formatResult: item => {
if (options.formatResult) {
return options.formatResult(item);