feat(typeahead): input with zero length

Support input with zero length including focus event. Inspired by https://github.com/zacronos/bootstrap