Skip to content

Commit

Permalink
Update var/httpd/htdocs/js/Core.UI.InputFields.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dennykorsukewitz authored Oct 30, 2024
1 parent 15f79e3 commit 92db86b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions var/httpd/htdocs/js/Core.UI.InputFields.js
Original file line number Diff line number Diff line change
Expand Up @@ -1188,8 +1188,8 @@ Core.UI.InputFields = (function (TargetNS) {

// For performance reasons:
// Do not initialize modern inputfields on selects with many entries
MaxDropdownOptions = Core.Config.Get('MaxDropdownOptions');
if ($(SelectObj).children('option').length > MaxDropdownOptions) {
MaxNumberOfOptions = Core.Config.Get('InputFields::ModernizedSelection::MaxNumberOfOptions');
if ($(SelectObj).children('option').length > MaxNumberOfOptions) {
return;
}

Expand Down

0 comments on commit 92db86b

Please sign in to comment.