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

Allow null noMatchTemplate to behave as described in documentation #124

Merged
merged 1 commit into from
Aug 6, 2018

Conversation

samlbest
Copy link
Contributor

According to the documentation:

// template for when no match is found (optional),
// If no template is provided, menu is hidden.
noMatchTemplate: null,

This wasn't behaving as described because the value passed in for the "noMatchTemplate" option was only used when it was a function.

Should fix #106

@mrsweaters mrsweaters merged commit 1412ed7 into zurb:master Aug 6, 2018
@mrsweaters
Copy link
Collaborator

Thank you!

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

Successfully merging this pull request may close these issues.

How to prevent "No Match!" from popping up?
2 participants