I am trying to use ngx-chips for tag based dropdown. Below is the code that I am using:
<tag-input [onlyFromAutocomplete]="true" formControlName="data">
<tag-input-dropdown [identifyBy]="'data'" [showDropdownIfEmpty]="true" [autocompleteItems]="dataObject" [appendToBody]="false"></tag-input-dropdown>
</tag-input>
I am using the above code in bootstrap model. But when I tried to close the dropdown list clicking any where on model, it is not closing.
So, I tried to add [appendToBody]="false" and it fixed the issue but now the position of dropdown got disturb.
Please let me know possible solution for it.
To use in conjunction with showDropdownIfEmpty. If set to false, the dropdown will not reopen automatically after adding a new tag. (defaults to true).