We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 487a60e commit 976c147Copy full SHA for 976c147
web_src/js/modules/fomantic/dropdown.ts
@@ -75,7 +75,7 @@ function delegateOne($dropdown: any) {
75
// the "template" functions are used for dynamic creation (eg: AJAX)
76
const dropdownTemplates = {...dropdownCall('setting', 'templates'), t: performance.now()};
77
const dropdownTemplatesMenuOld = dropdownTemplates.menu;
78
- dropdownTemplates.menu = function(response: any, fields: any, preserveHTML: any, className: string) {
+ dropdownTemplates.menu = function(response: any, fields: any, preserveHTML: any, className: Record<string, string>) {
79
// when the dropdown menu items are loaded from AJAX requests, the items are created dynamically
80
const menuItems = dropdownTemplatesMenuOld(response, fields, preserveHTML, className);
81
const div = document.createElement('div');
0 commit comments