valor-software/ng2-select

View on GitHub
demo/components/select/children-demo.html

Summary

Maintainability
Test Coverage
<div class="selectivity-input example-input"
     style="width: 300px; margin-bottom: 20px;">
  <h3>Select a city by country</h3>
  <ng-select [allowClear]="true"
             [items]="items"
             [disabled]="disabled"
             (data)="refreshValue($event)"
             (selected)="selected($event)"
             (removed)="removed($event)"
             placeholder="No city selected"></ng-select>
  <p></p>
  <pre>{{value.text}}</pre>
  <div>
    <button type="button" class="btn btn-primary"
            [(ngModel)]="disabledV" btnCheckbox
            btnCheckboxTrue="1" btnCheckboxFalse="0">
      {{disabled === '1' ? 'Enable' : 'Disable'}}
    </button>
  </div>
</div>