Skip to content

Commit

Permalink
use "fuzzy search" on dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
uyab committed May 28, 2020
1 parent a27422a commit f9e6277
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/js/all.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"/css/app.css": "/css/app.css?id=84c9515032f958dd16e4",
"/js/all.js": "/js/all.js?id=3f0597a0825b08e26bd4",
"/js/all.js": "/js/all.js?id=de4d05c044b67d3de9ee",
"/css/all.css": "/css/all.css?id=4b3a003417c65cef7fc1",
"/semantic/semantic.min.css": "/semantic/semantic.min.css?id=2a6f167e594f0513e5b8"
}
3 changes: 2 additions & 1 deletion resources/js/init/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $(function () {
$('.ui.dropdown:not(.tag)').dropdown({
forceSelection: false,
selectOnKeydown: false,
fullTextSearch: 'exact',
fullTextSearch: true,
});

$('.ui.dropdown.tag').each(function () {
Expand All @@ -20,6 +20,7 @@ $(function () {
$(this).dropdown({
forceSelection: false,
allowAdditions: true,
fullTextSearch: true,
keys: {
delimiter: 13
}
Expand Down

0 comments on commit f9e6277

Please sign in to comment.