Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.@Component({
selector: 'app-root',
template: `<ejs-multiselect id='multiselectelement' [dataSource]='sportsData' [fields]='fields' [mode]='mode' [selectAllText]='selectAllText' showSelectAll=true [placeholder]='placeholder'></ejs-multiselect>`,
providers: [CheckBoxSelectionService]
})
import { MultiSelectAllModule } from '@syncfusion/ej2-angular-dropdowns';
|
<ejs-multiselect name="skillname" [(ngModel)]='value' [dataSource]='countries' [fields]='checkFields' [mode]='mode'>
</ejs-multiselect> |
ngOnInit(): void {
this.value=['AU','BM'];
} |
Your response to Query1: We have checked the reported requirement. Since CheckBoxSelectionService module is injectable we have Injected the module in the MultiSelectAllModule. So you no need to provide the module at every time. You can import the MultiSelectAllModule from the dropdowns components. Please refer the below code snippet,