Skip to content

Commit

Permalink
Update Kernel/Output/HTML/Layout.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
dennykorsukewitz authored Oct 30, 2024
1 parent 84e4ee3 commit f5a3238
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Kernel/Output/HTML/Layout.pm
Original file line number Diff line number Diff line change
Expand Up @@ -509,11 +509,11 @@ sub Block {
};

# For performance reasons:
# Do not initialize modern inputfields on selects with many entries
my $MaxDropdownOptions = $Kernel::OM->Get('Kernel::Config')->Get("MaxDropdownOptions");
# Do not initialize modernized input fields on selections with many entries
my $MaxNumberOfOptions = $Kernel::OM->Get('Kernel::Config')->Get("InputFields::ModernizedSelection::MaxNumberOfOptions");
$Self->AddJSData(
Key => 'MaxDropdownOptions',
Value => $MaxDropdownOptions,
Key => 'InputFields::ModernizedSelection::MaxNumberOfOptions',
Value => $MaxNumberOfOptions,
);

return 1;
Expand Down

0 comments on commit f5a3238

Please sign in to comment.