Give FormBuilder Control and async data as input to directive


#1

Hi, does anyone know how give a Formbuilder Control as input to directive and wait for the loadedItems before displaying. At the moment I have:

In html
<search-select
[loadedItems]=categories
[control]=“newQcmForm.controls[‘category’]”></search-select>

In ts
@Input() loadedItems;
@Input() control;