N°3887 - Harmonize number of autocomplete displayed results throughout the app

This commit is contained in:
Molkobain
2021-04-06 11:56:30 +02:00
parent f6be3736fd
commit 4c289edac7
6 changed files with 62 additions and 16 deletions

View File

@@ -266,7 +266,7 @@ EOF
},{
name: '{$this->oField->GetId()}',
source: oAutocompleteSource_{$this->oField->GetId()},
limit: 20,
limit: {$this->oField->GetMaxAutoCompleteResults()},
display: 'name',
templates: {
suggestion: Handlebars.compile('<div>{{name}}</div>'),