ngx Bootstrap Typeahead show all list again after selected and focus again

837 Views Asked by At

I have auto selected the data from code

ts.code

this.add_resutant_form.patchValue({
    select_company: this.selectedCompany.name
  })

HTML

        <input 
        [typeahead]="companyList" 
        formControlName="select_company" 
        typeaheadOptionField="name" 
        [typeaheadMinLength]="0" 
        (typeaheadOnSelect)="onSelectCompany($event)" class="form-control" [ngClass]="{'is-invalid': submitted && f.select_resturant.errors}">

The value in the field is auto selected which is fine but when i again focus on textbox i see only selected one other are hide.

Is it possible to show all if I re-focus again ?

enter image description here

This issue is something similar. But I cannot get it working.

ngx-bootstrap

0

There are 0 best solutions below