hardy12994 / ng4-auto-complete

Using Input Tag and on type the list refresh, with Features - show list length, taking String/Object list, list trigger on word count, takes string and gives string
1 stars 0 forks source link

core.js:1427 ERROR TypeError: $(...).autocomplete is not a function #1

Open Gajendrasinh opened 6 years ago

Gajendrasinh commented 6 years ago

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)

gndps commented 6 years ago

it got solved for me by removing a jquery script from inside angular.json

mayurdo commented 6 years ago

Jquery is required for bootstrap. Then how to solve it ?

hardy12994 commented 6 years ago

@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>`
agiratech-venkat commented 5 years ago

$(...).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