Hi,
on "KTSearch" whene "show-on-focus' definition is turned "false", then got error when trying to access "minLength"
var _focus = function() {
the.element.classList.add("focus");
if ( _getOption("show-on-focus") === true || the.inputElement.value.length >= minLength ) {
_show();
}
}
Hi,
Thank you for the feedback. Noted and we will fix this issue in the next update.
In the meantime, you can fix this issue by following below steps:
1. Open src/js/components/search.js
2. Add below code after line 52.
the.minLength = parseInt(_getOption("min-length"));
minLength
to the.minLength
.minLength
to the.minLength
.