fix(typeahead): support two-way data binding fully

Closes #981
fix(typeahead): code style