angular2-multiselect-dropdown
angular2-multiselect-dropdown copied to clipboard
TypeError: Cannot read property 'lazyLoading' of undefined
core.js:4002 ERROR TypeError: Cannot read property 'lazyLoading' of undefined at AngularMultiSelect.push../node_modules/angular2-multiselect-dropdown/fesm5/angular2-multiselect-dropdown.js.AngularMultiSelect.ngOnChanges (angular2-multiselect-dropdown.js:2224) at checkAndUpdateDirectiveInline (core.js:21093) at checkAndUpdateNodeInline (core.js:29495) at checkAndUpdateNode (core.js:29457) at prodCheckAndUpdateNode (core.js:29998) at Object.eval [as updateDirectives] (EmployeeScheduleComponent.ngfactory.js:76) at Object.updateDirectives (core.js:29786) at checkAndUpdateView (core.js:29439) at callViewAction (core.js:29680) at execEmbeddedViewsAction (core.js:29643)
added this.filterSettings = { singleSelection: false, text: "Select Filters", selectAllText: 'Select All', unSelectAllText: 'UnSelect All', enableSearchFilter: true, badgeShowLimit: 2, classes: "select-filter" };
and solved the issue
But I need the single selection is true in order to select only one item in the dropdown , then it is not working still the error is present .