my workaround:
copy function:
/************************** * Auto complete plugin * *************************/ $.fn.autocomplete = function (options) { // Defaults var defaults = { data: {} }; options = $.extend(default (...) }); // End of $(document).ready (1) /******************* * Select Plugin * ******************/
from materialize.js (line number ~ 3000) or from the source file /js/forms.js( line number ~ 281)
delete the last line:
}); // End of $(document).ready (1)
the close function started even earlier ...
and enter it manually in javascript function body
$(document).ready(function() {
source share