Skip to content

Commit

Permalink
Fix typeahead component ignoring search results.
Browse files Browse the repository at this point in the history
  • Loading branch information
pierobot committed Jun 6, 2020
1 parent 3fdbef0 commit 06ee5f0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions resources/views/shared/autocomplete.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
selectOnBlur: false,
theme: "bootstrap4",
/* Required in order for results not to be ignored. */
matcher: function (data) {
return true;
},
itemLink: function (manga) {
return baseUrl + '/' + manga.id;
},
Expand All @@ -27,6 +32,10 @@
selectOnBlur: false,
theme: "bootstrap4",
matcher: function (data) {
return true;
},
itemLink: function (manga) {
return baseUrl + '/' + manga.id;
},
Expand Down

0 comments on commit 06ee5f0

Please sign in to comment.