Hi i have used Angular8 and bootstrap 4. I have used bootstrap multi-select dropdown, i need to get the selected dropdown values. How can i get those values.
TS:
setTimeout(() => {
$('#multiselectFileName').multiselect({
buttonWidth: '400px'
});
$('#multiselectUser').multiselect({
buttonWidth: '400px'
});
},100)
HTML:
<div class="form-group">
<label for="">Select User</label>
<select name="user" id="multiselectUser" multiple="multiple" (change)="selecteduser($event)">
<option *ngFor="let field of user" [value]="field.id" >
{{field.userName}}</option>
</select>
</div>
I succeeded in your Demo by the code above, you can learn this from [Doc Official](https://angular.io/guide/structural-directives#ng-container-to-the-rescue) – Etienne-qwer Jun 18 '20 at 17:29