I'm attempting to retrieve multiple selected values in a paper-listbox element in Polymer.
<paper-dropdown-menu label="{{_getLabel('Activity Type')}}" id="fromMenu" on-paper-dropdown-close="fromAccountChanged" searchable="true">
<paper-listbox selected="{{value}}" id="ddtype" on-iron-select="SelectedType" attr-for-selected="value" selected="{{typeList}}" class="dropdown-content" slot="dropdown-content" multi>
<template is="dom-repeat" items="{{typeList}}">
<paper-item value="{{item}}">{{item}}</paper-item>
</template>
</paper-listbox>
</paper-dropdown-menu>
SelectedType(e){
var selectedItem = e.target.selectedItem;
console.log(selectedItem.value)
var product_value = selectedItem.value;
this.searchTypeString = selectedItem.value;
}
This is the function I am using to fetch values, but I am only able to retrieve a single value.