ngx-select-ex icon indicating copy to clipboard operation
ngx-select-ex copied to clipboard

Hide Search Input

Open muhamed87 opened this issue 1 year ago • 1 comments
trafficstars

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?!

muhamed87 avatar Jan 04 '24 11:01 muhamed87

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

optimistex avatar Jan 06 '24 08:01 optimistex