I am using Angular 7 and have an ngx-select dropdown where the options are retrieved from a database. The code is as follows:
<div class="col-lg-6">
<ngx-select class="form-control-file" noResultsFound="noResultsFound"
placeholder="Choose" [items]="firstList" optionValueField="id"
optionTextField="name" formControlName="firstList" [searchCallback]="localeSearch">
</ngx-select>
</div>
The problem is that some of the option texts are too long to be fully displayed within the dropdown. I would like the full text to be shown when the user hovers over an option with the mouse.
How can I achieve this in ngx-select?
I prefer not to use Angular Material. Is there a way to achieve this in ngx-select?