meteor-autocomplete
meteor-autocomplete copied to clipboard
Display nothing when no matches
I would realy like the option of displaying nothing when there are no matches. It would be great to be able to specify noMatchTemplate: false or maybe null and have it just not show anything.
For my use case, I'm displaying employee names if they exist, but using the same input for entering a new employee name. If there are no matches, it doesn't make sense to display that fact, I'd like it to simply look like a normal input field.
Why dont use noMatchTemplate: someTemplate and make someTemplate just be an empty template?
@Ethaan because noMatchTemplate is rendered inside the -autocomplete-container