Good day to all! In general, there are 3 autocomplete on the page, 2 of them are created using yii2 - and both work fine, but the third one was created on js, at the beginning of js the file was connected separately through the bundle class and worked. Then I decided to connect it through the npm requery and jquery autocomplete stopped working more precisely on the page the first two autocomplete work and the third one does not work CODE: SELECT ALL
TypeError: $(...).autocomplete is not a function
it is clear that it does not see the autocomplete library, although it is connected because others work the same as were created using yii2. The question is how to make the compiled js file through npm see the autocomplete library connected?
autocomplete settings are standard.
I connect and call, as usual: CODE: SELECT ALL
var _extra_places = require("./_extra_places"); _extra_places.ExtraPlaces();