Open Gajendrasinh opened 6 years ago
it got solved for me by removing a jquery script from inside angular.json
Jquery is required for bootstrap. Then how to solve it ?
@Gajendrasinh have you included these scripts - `
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>`
$(...).autocomplete is not a function initDropdown auto.directive.js:237 configureDirective auto.directive.js:128 ngOnInit auto.directive.js:22 Angular 5 View_ListingComponent_0 ListingComponent.html:186 Angular 24 RxJS 5 Angular 8
Got this error when I am tryng to use. I also added
in my index.html Can you please check why its been not loading
core.js:1427 ERROR TypeError: $(...).autocomplete is not a function at AutoCompleteDirective.initDropdown (auto.directive.js:237) at AutoCompleteDirective.removeOldList (auto.directive.js:339) at SafeSubscriber.eval [as _next] (auto.directive.js:305) at SafeSubscriber.__tryOrUnsub (Subscriber.js:238) at SafeSubscriber.next (Subscriber.js:185) at Subscriber._next (Subscriber.js:125) at Subscriber.next (Subscriber.js:89) at HTMLInputElement.handler (FromEventObservable.js:210) at ZoneDelegate.invokeTask (zone.js:425) at Object.onInvokeTask (core.js:4744)