Is there a way to make the ng-bootstrap dropdown control work with Angular's reactive forms?
Given:
<div ngbDropdown class="d-inline-block">
<button class="btn btn-outline-primary" id="dropdownMenu1" ngbDropdownToggle>Toggle dropdown</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenu1">
<button class="dropdown-item">Action - 1</button>
<button class="dropdown-item">Another Action</button>
<button class="dropdown-item">Something else is here</button>
</div>
</div>
How can one use the formControlName much like used on inputs?
<input formControlName="name" />
<input type="button" value="" formControlName="name">?