emonney / QuickApp

ASP.NET Core / Angular startup project template with complete login, user and role management. Plus other useful services for Quick Application Development
https://www.ebenmonney.com/quickapp
MIT License
1.26k stars 594 forks source link

Selectpicker is not a function #38

Closed henslecd closed 6 years ago

henslecd commented 7 years ago

I am getting this js error when going to Settings -> Preferences. The alert prompts 6 or 7 times and makes all selections unusable.

ERROR TypeError: WEBPACK_IMPORTED_MODULE_1_jquery(...).selectpicker is not a function at BootstrapSelectDirective.ngOnInit (main-client.js:6874) at checkAndUpdateDirectiveInline (vendor.js:15593) at checkAndUpdateNodeInline (vendor.js:17094) at checkAndUpdateNode (vendor.js:17033) at debugCheckAndUpdateNode (vendor.js:17894) at debugCheckDirectivesFn (vendor.js:17835) at Object.eval [as updateDirectives] (ng:///AppModule/UserPreferencesComponent.ngfactory.js:672) at Object.debugUpdateDirectives [as updateDirectives] (vendor.js:17820) at checkAndUpdateView (vendor.js:17000) at callViewAction (vendor.js:17365)

emonney commented 6 years ago

What version of QuickApp are you using? Can you share your package.json file?

emonney commented 6 years ago

I couldn't reproduce this error. Closing ticket. If this is still an issue reopen the ticket with the steps to reproduce it.