I would like to reset the Polymer Paper drop-down menu to its original state in JavaScript, so nothing is selected, so it looks like this:

I can add the identifier to the "Paper Text" tag in the paper drop-down menu and access it in JavaScript and select its selected index:
document.getElementById("accountTypeMenu").selected = 1;
However, I can only select the available item, so the number must be 0 or more. I canβt set it to -1 to select anything, to visually return it to its initial state, but I can register the selected state for what I just set it. Other values ββthat I tried to change are selected like this: null and undefined.
Here is the html that I use for the dropdown menu:
<paper-dropdown-menu id="accountTypeDropdown" selected-item="{{selectedItem}}" selected-item-label="{{selected}}" label='*Account type' style="width:50%;" noink no-animations> <paper-menu id="accountTypeMenu" class="dropdown-content" onmouseup="requiredMenuFieldSelected('accountType')"> <template is="dom-repeat" items="{{accountTypes}}" as="accountType"> <paper-item value="[[accountType.id]]">[[accountType.name]]</paper-item> </template> </paper-menu> </paper-dropdown-menu> <input is="iron-input" name="accountType" type="hidden" value$="[[selectedItem.value]]">
source share