fix(typeahead): do not set editable error when input is empty

This fixes #1038.