title: How to reset the ng-multiselect-dropdown
body: <p>I want to reset the ng-multiselect-dropdown. Is it necessary to put it in a form ?</p>
  
  <p>code -</p>
  
  <p><strong>app.component.html</strong></p>
  
  <pre><code>&lt;div&gt;
    &lt;p id = "node"&gt;Select a Root API Object - &lt;/p&gt;
    &lt;p style="width:50%"&gt;
      &lt;ng-multiselect-dropdown [placeholder]="'Select Root API Object'" [data]="dropdownListRoot" [(ngModel)]="selectedItemsRoot" [settings]="dropdownSettingsRoot"
        (onSelect)="onItemSelectRoot($event)" (onSelectAll)="onSelectAllRoot($event)"&gt;
      &lt;/ng-multiselect-dropdown&gt;
  
    &lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>app.component.ts</strong></p>
  
  <pre><code> export class HierarchySearchComponent implements OnInit {
  
   onItemSelectRoot(item: any) {
      this.onlyRootItemSelect = true;  // for cypher also.
  
  
      console.log(item); 
      this.rootItem = item;
      this.nodeSelect = true;
  
      this.rootItemText = this.rootItem.item_text;
      console.log("this.rootItemText = ", this.rootItemText);
  
    }
  
  
    onSelectAllRoot(items: any) {
      console.log("On Item select all" + items);
      this.nodeSelect = true;
    }
  </code></pre>
  
  <p>}</p>