Could i have a small example on how to get the list of selected items using the 'multiselect' component?
I tried to implement the example defined in Thread ID: 148142 (which I report below),
but, when I press the button, the result of the console.log () is always 'undefined'
app.component.html
==================
<ejs-multiselect id='multiselect-checkbox' #checkbox [dataSource]='countries' [placeholder]='checkWaterMark' [fields]='checkFields'
[mode]='mode' [popupHeight]='popHeight' [showDropDownIcon]='true' showSelectAll='true' [filterBarPlaceholder]='filterPlaceholder'></ejs-multiselect>
<button (click)="btnclick()">Get Selected Value</button>
app.component.ts
================
import { MultiSelectComponent } from '@syncfusion/ej2-angular-dropdowns';
@ViewChild('checkbox', {static: true})
public mulObj: MultiSelectComponent;
btnclick() {
console.log(this.mulObj.value);
}