Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide Search Input #205

Closed
muhamed87 opened this issue Jan 4, 2024 · 1 comment
Closed

Hide Search Input #205

muhamed87 opened this issue Jan 4, 2024 · 1 comment

Comments

@muhamed87
Copy link

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants