aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r--web_src/js/index.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js
index 0d60c21cca..c67b3c809b 100644
--- a/web_src/js/index.js
+++ b/web_src/js/index.js
@@ -2408,18 +2408,23 @@ $(document).ready(async () => {
});
// Semantic UI modules.
- $('.dropdown:not(.custom)').dropdown();
+ $('.dropdown:not(.custom)').dropdown({
+ fullTextSearch: 'exact'
+ });
$('.jump.dropdown').dropdown({
action: 'hide',
onShow() {
$('.poping.up').popup('hide');
- }
+ },
+ fullTextSearch: 'exact'
});
$('.slide.up.dropdown').dropdown({
- transition: 'slide up'
+ transition: 'slide up',
+ fullTextSearch: 'exact'
});
$('.upward.dropdown').dropdown({
- direction: 'upward'
+ direction: 'upward',
+ fullTextSearch: 'exact'
});
$('.ui.accordion').accordion();
$('.ui.checkbox').checkbox();
@@ -3465,6 +3470,7 @@ function initTopicbar() {
topicDropdown.dropdown({
allowAdditions: true,
forceSelection: false,
+ fullTextSearch: 'exact',
fields: {name: 'description', value: 'data-value'},
saveRemoteData: false,
label: {