From 9cc7b75c82c29c5ba01f8eb514074bc73bd4f550 Mon Sep 17 00:00:00 2001 From: Kuba Niewiarowski Date: Wed, 30 Oct 2019 18:35:46 +0100 Subject: [PATCH] Allow to search trough int values, fixes #207. --- src/configuration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configuration.js b/src/configuration.js index 3b6334b..d47e7ec 100644 --- a/src/configuration.js +++ b/src/configuration.js @@ -55,7 +55,7 @@ var EasyAutocomplete = (function (scope) { caseSensitive: false, method: function (element, phrase) { - return element.search(phrase) > -1; + return element.toString().search(phrase) > -1; } },