You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 6, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 6, 2024. It is now read-only.
Autocomplete not working with chip input (does with regular input) #353
I get folowing error when using autocompleteoptions for chip input
Uncaught TypeError: r.autocomplete is not a function
at w.fn.init.chips (materialize.min.js:6)
at HTMLElement. (materialize.min.js:6)
at Function.each (jquery.min.js:2)
at w.fn.init.each (jquery.min.js:2)
at w.fn.init.init (materialize.min.js:6)
at w.fn.init.t.fn.material_chip (materialize.min.js:6)
at ngx-materialize.js:899
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188)
at push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask (zone.js:496)
Steps to Reproduce (for bugs)
copy and paste from the demo page. When using the regular input, autocomplete does work without a problem.
Version used: ^6.1.3
Angular version used: ^6.1.0
Browser Name and version: Google Chrome Version 69.0.3497.100
Operating System and version (desktop or mobile): Windows 10
I figured out that when I load jquery 2.2.4 in my index.html, the chips autocomplete does work.
jQuery version 3.3.1 that I loaded via node_modules/jquery/dist/jquery.min.js in angular.json seems te be not compatible.
Activity
mrtruebeliever commentedon Oct 5, 2018
I figured out that when I load jquery 2.2.4 in my index.html, the chips autocomplete does work.
jQuery version 3.3.1 that I loaded via node_modules/jquery/dist/jquery.min.js in angular.json seems te be not compatible.
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>