bevacqua/horsey

How to disable search on focus

wbotelhos opened this issue · 1 comments

When the field is blank, on the firstfocus, it does a search withvalue` empty.
There is a way to avoid it? For me, it is useless search for nothing.

My hack:

suggestions: function(value, done) {
  if (value === '') {
    return done([]);
  }

  ...
}

There is now. See blankSearch option.