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

ShowNoSuggestionNotice can be a function. Fix of noSuggestionNotice. #341

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

glowka
Copy link
Contributor

@glowka glowka commented Mar 29, 2015

Hey there.
I added option to specify function as showNoSuggestionNotice. It's helpful when there is need to dynamically decide weather to display noSuggestionNotice or not. The function takes suggestions as only argument, thanks to that You can decide to show notice when e.g suggestions are shorter than 3.

Copy link

@happyrobotstudio happyrobotstudio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be really useful to be able to use a function on no results =)

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

Successfully merging this pull request may close these issues.

2 participants