optimistex / ngx-select-ex

Angular based replacement for select boxes
https://optimistex.github.io/ngx-select-ex/
MIT License
111 stars 42 forks source link

Hide Search Input #205

Closed muhamed87 closed 4 months ago

muhamed87 commented 11 months ago

Hi,

Is there any way to hide the search input if the length of items is less than or equal 8 elements for example, or we should use ngIf condition to check the data length and update the [noAutoComplete] based on that?!

optimistex commented 10 months ago

You may make a function counting the items and pass it to [noAutoComplete]="yourFunction()"