···1616 $.fn.dropdown.settings.fullTextSearch = 'exact';
1717 // Do not use "cursor: pointer" for dropdown labels
1818 $.fn.dropdown.settings.className.label += ' gt-cursor-default';
1919+ // The default selector has a bug: if there is a "search input" in the "menu", Fomantic will only "focus the input" but not "toggle the menu" when the "dropdown icon" is clicked.
2020+ // Actually, the "search input in menu" shouldn't be considered as the dropdown's input
2121+ $.fn.dropdown.settings.selector.search = '> input.search, :not(.menu) > .search > input, :not(.menu) input.search';
1922 // Always use Gitea's SVG icons
2023 $.fn.dropdown.settings.templates.label = function(_value, text, preserveHTML, className) {
2124 const escape = $.fn.dropdown.settings.templates.escape;